I am trying to find the best way to copy specific tables from one database
to another when the source and target database names are not always the
same. Can you use variables to specify (or prompt the user) to provide
source and target databases? The target database will exist with the the
same tables as the source. The tables to copy will always be the same.
Example:
UserA wants to copy 10 tables from Data1 to Data2
UserB wants to copy 10 tables from Data4 to Data5
I'm sure a script can do this in Query Analyzer but is there a more user
friendly method when the user has ony standard SQL tools?
Thanks in advance.
to another when the source and target database names are not always the
same. Can you use variables to specify (or prompt the user) to provide
source and target databases? The target database will exist with the the
same tables as the source. The tables to copy will always be the same.
Example:
UserA wants to copy 10 tables from Data1 to Data2
UserB wants to copy 10 tables from Data4 to Data5
I'm sure a script can do this in Query Analyzer but is there a more user
friendly method when the user has ony standard SQL tools?
Thanks in advance.
Comment