I've searched and searched and cannot find a solution to this problem. I simply cannot believe it is that difficult, so I'm going to put out here for you guys.
I have a database with 400 tables. I need to dump all of the data from each table into seperate delimited, text qualified flat files. Doing this for one table is easy, but how do I iterate through all of my tables?
SSIS allows me to iterate, but it fails because the tables have different structures.
I can use SSIS to call BCP and iterate, but I cannot add a text qualifier through BCP.
I can use SSMS's Export Data wizard, but that only allows one table at a time.
I'm out of ideas here. Surely this isn't as difficult as I'm making it.
Thanks.
-If it ain't broke, break it and make it better.
I have a database with 400 tables. I need to dump all of the data from each table into seperate delimited, text qualified flat files. Doing this for one table is easy, but how do I iterate through all of my tables?
SSIS allows me to iterate, but it fails because the tables have different structures.
I can use SSIS to call BCP and iterate, but I cannot add a text qualifier through BCP.
I can use SSMS's Export Data wizard, but that only allows one table at a time.
I'm out of ideas here. Surely this isn't as difficult as I'm making it.
Thanks.
-If it ain't broke, break it and make it better.