Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Generate SQL Script to create table and it's data.

Status
Not open for further replies.

robertfah

Programmer
Mar 20, 2006
380
US
I need to write a method that will take a table name as a parameter and generate the SQL statement for creating and inserting the data.

What I'm trying to do is copy a table and it's data to another database but I only need the SQL to do so.

Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top