问题
I’m trying to import fixed width data from text file into SQL Server Express using BCP. I have read some Microsoft’s web pages about this matter, but I haven’t got far with them. Can please give some examples or point to some good tutorials about this subject?
回答1:
There's a wealth of material out there, and these two articles seem like a good start:
http://www.devarticles.com/c/a/SQL-Server/An-Introduction-To-The-Bulk-Copy-Utility/
https://web.archive.org/web/1/http://blogs.techrepublic%2ecom%2ecom/datacenter/?p=319
来源:https://stackoverflow.com/questions/2371022/sql-server-express-2005-how-to-import-fixed-width-data-using-bcp