Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 generate sql-scripts containing data of table

Author  Topic 

kolpdc
Starting Member

2 Posts

Posted - 2005-09-28 : 07:34:54
hello,
i've got the following problem: do you know mysql (ok - laughing not allowed;) phpMyAdmin? This little tool is able to generate an sql-file or -code that holds sql-statements which represent the data of selected tables.

i've got a special situation where i need such a solution. i do not need a backup of sql-server, i do not need any replication and i also do not want to move data to an other server.

i want to produce an independent sql-code holding the data of all tables in a special database i selected. independent sql-code because i think, this data won't be touched the next years, but somewhen there could be the need of restarting that database. and i do not want to be dependent to a special databaseproduct. especially not to a version, that has been forgotten before years.

does anyone of you have any idea, how i may generate one sql-file holding the data of all my tables? no problem if it gets a big file.

thank you in advance

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2005-09-28 : 07:40:34
See if this helps you
http://www.mindsdoor.net/SQLTsql/BCPAllTables.html

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -