June 2015
Intermediate to advanced
1800 pages
70h 6m
English
One of the great things about bcp is its ease of use. This section runs through a couple simple examples and provides full explanations. All tables used here can be found in the AdventureWorks2014 sample database supplied by Microsoft in Codeplex for SQL Server 2014.
Let’s start by exporting product data from AdventureWorks2014 that may be needed by a sales team for reference in Excel format (a .csv file). To do this, you simply export the Product table data into a comma-delimited file. You need to specify the following with bcp in this case:
The full table name (in this case, AdventureWorks2014.Production.Product ...
Read now
Unlock full access