Quantcast
Channel: SCN : Unanswered Discussions - SAP SQL Anywhere
Viewing all articles
Browse latest Browse all 542

Copy table from different database

$
0
0

Hi

 

If I want to copy an existing table in the same DB I would use something like this

 

INSERT MyTable_Backup ON EXISTING UPDATE WITH AUTO NAME SELECT * FROM MyTable

 

 

Assuming I can lookup the name of the server and the database I want to copy from

 

e.g.

 

Server = S002

 

DB = MyDB21

 

How can I use that to copy from a different database, or even a different server?

 

Thanks


Viewing all articles
Browse latest Browse all 542

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>