Question:
how can we copy the SQL tables from one system to another system.?
@nu 2
2007-06-03 19:35:55 UTC
how can we copy the SQL tables from one system to another system.?
Three answers:
steve s
2007-06-07 09:13:49 UTC
'the SQL tables' - MySQL or SQL Server? Which version? are the two systems connected? are the software versions identical or different between systems? IF the 'vendor' is the same, even though the versions are different, and Export / Import or Backup/Restore should work. Otherwise, you will need to export the tables into a common format (eg, csv) and also export the table and index definitions. Then (re)build the table definitions, import the data into the new tables, and build your indexes (as opposed to indices).



Want more explicit guidance? Give us more explicit information. What are the from and to platforms, database engines, and versions?
2007-06-03 20:05:31 UTC
Is this for Microsoft SQLSERVER?



If so, you can use a command line utility, bcp (bulkcopy) to export the table into a file (out) and bulk-copy it "in" on the other system. You would still nees to export the sql script to create the table to a file and then run that against the other server (CREATE TABLE). This can be found under "create sql script for create table).



There are more complex table movers around, such as DTS (for SQL server up to SQL server 2000) or Integration Services for SQL 2005. There are also commercial products from RedGate that automate lots of things, but they cost $$.
a// i
2007-06-03 19:44:36 UTC
use the export utility provided by Oracle.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...