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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copying tables between two databases

Status
Not open for further replies.

chiverj

Technical User
May 22, 2002
8
0
0
AU
Greetings, I want to copy a table from database on a production server to a database with the same name on a test server, how might I go about this?

We are running Sybase ASE 11.9.2 on Solaris
 
Well, you can bcp out of one table, to the other table if you have both created.

Or on Sybase side, they have a C program(bcpxfer) you can compile that will allow you use select statement and use bcp libraries to copy data between servers, etc. It would eliminate the need to go to a flat file....

But if its quick and dirty need, bcp would probably be easiest.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top