Hi All,
I need to get rid of (delete) about 50 tables in our current database. However, I would like to archive the data in a csv file (just in case). I need the field names to be included in the csv file. I am using SQL Server 7.0. Can I use BCP to do this, rather than having to right-click>All Tasks> Export Data>etc. on each table I want to delete? or is there a better solution than BCP. I'd rather not use the Data Export Wizard 50X, if possible.
any direction is greatly appreciated.
Thanks,
Dennis
======================================
"I wish that I may never think the smiles of the great and powerful a sufficient inducement to turn aside from the straight path of honesty and the convictions of my own mind."
-David Ricardo, classical economist
======================================
I need to get rid of (delete) about 50 tables in our current database. However, I would like to archive the data in a csv file (just in case). I need the field names to be included in the csv file. I am using SQL Server 7.0. Can I use BCP to do this, rather than having to right-click>All Tasks> Export Data>etc. on each table I want to delete? or is there a better solution than BCP. I'd rather not use the Data Export Wizard 50X, if possible.
any direction is greatly appreciated.
Thanks,
Dennis
======================================
"I wish that I may never think the smiles of the great and powerful a sufficient inducement to turn aside from the straight path of honesty and the convictions of my own mind."
-David Ricardo, classical economist
======================================