0

Do we have any bulk copy or bulk insert mechanism into PostgreSQl by using dotConnectForPostgreSQL provider from C#?

I am trying to insert the data(multiple sheets with lakhs of records) from xlsx to PostgreSQl by using c#. But didn't find any suitable method in devart. Bulk insert is available in NpgSQL but i don't want to use Npgsql to avoid driver related issues(specifying kind for date time fields etc..)

Regards, Someshwar

2
  • Please try to avoid using words like lakh that are not globally understood Commented Nov 18, 2022 at 18:29
  • I am trying to insert the data(multiple sheets with 100 thousands of records) from xlsx to PostgreSQl by using c#. But didn't find any suitable method in devart. Bulk insert is available in NpgSQL but i don't want to use Npgsql to avoid driver related issues(specifying kind for date time fields etc..) Commented Nov 18, 2022 at 18:35

1 Answer 1

0

You can use the PgSqlLoader class that is available in dotConnect for PostgreSQL Professional Edition: https://www.devart.com/dotconnect/postgresql/docs/?Devart.Data.PostgreSql~Devart.Data.PostgreSql.PgSqlLoader.html.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.