开发者

What is the difference between bulk copy (bcp) and bulk insert in SQL Server 2008?

开发者 https://www.devze.com 2022-12-15 03:08 出处:网络
What is t开发者_运维百科he difference between bulk copy (bcp) and bulk insert? Is there a switch to export all of the data in all of tables in a database for bcp?

What is t开发者_运维百科he difference between bulk copy (bcp) and bulk insert?

Is there a switch to export all of the data in all of tables in a database for bcp?


  • bulk copy is an utility program: bcp.exe
  • BULK INSERT is a Transact-SQL statement.

bcp.exe uses BULK INSERT to do its job. It's the same relation that the one between sqlcmd.exe (a tool) and SELECT (a statement).

There is no 'switch' to export all tables in a database. There is however an export and import wizard which is based on SSIS, not on bcp.

0

精彩评论

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