SQL 2000
Hi All,
I have tried to look on books online, but for the life of me I can't figure out BCP.
Could someone possibly show me a sample of code to export\import using BCP?
Let's say I wanted to import a txt file having:
"RED","1","May"
"Green",2","Jan"
etc
etc
into a table in SQL with headings:
Colour,ID_No,Month
And for export, would the code be pretty similar?
Any guidance to get me on the right path will be greatly appreciated.
Michael
Hi All,
I have tried to look on books online, but for the life of me I can't figure out BCP.
Could someone possibly show me a sample of code to export\import using BCP?
Let's say I wanted to import a txt file having:
"RED","1","May"
"Green",2","Jan"
etc
etc
into a table in SQL with headings:
Colour,ID_No,Month
And for export, would the code be pretty similar?
Any guidance to get me on the right path will be greatly appreciated.
Michael