Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: SQL Server
Expertise: Beginner
Dec 16, 1998

BCP

Question:
Can you import Excel files into SQL Server tables using bcp? if so what is the command line?

Answer:
You can't execute bcp directly against an Excel file. However, Excel gives you the option of saving your worksheet as comma-delimeted or fixed length. You can then run the bcp command against the text file that has been created. The online books has a complete section on the command line parameters of bcp.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap