3 ms·
https://learn.microsoft.com/en-us/sql/t-sql/statements/bulk-insert-transact-sql?view=sql-server-ver17 https://learn.microsoft.com/en-us/sql/t-sql/statements/bul
by Foobar8568 1y ago
https://learn.microsoft.com/en-us/sql/t-sql/statements/bulk-insert-transact-sql?view=sql-server-ver17 https://learn.microsoft.com/en-us/sql/t-sql/statements/bulk-...
That's one way, another was BCP.
But yeah if you are using python and loading row by row, or a large amount into a large table that has a clustered index, chances are that it'll be dead slow but that's expected.
- dgan 1y agoThe documentation you providee requires for the file to be present on the server side, not the client side, which is very dufferent from postgres. As for BCP executable, i couldnt find a way for it to accept any type of date[time] at all