开发者

C# SQL Bulk Export

开发者 https://www.devze.com 2022-12-13 09:16 出处:网络
I want to bulk export from a select table, all columns that match a listbox and from only rows that match listings i开发者_运维技巧n a text file.

I want to bulk export from a select table, all columns that match a listbox and from only rows that match listings i开发者_运维技巧n a text file.

Any help? I'm sure someone has done this.


You can use the SqlBulkCopy class.

Read some examples here

I have experience with the command line version bcp.exe. It is the fastest, most efficient way to export from your database.

0

精彩评论

暂无评论...
验证码 换一张
取 消