Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copying records from one database to another
Message
De
19/01/2006 14:25:56
Alan Harris-Reid
Baseline Data Services
Devon, Royaume Uni
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Copying records from one database to another
Versions des environnements
SQL Server:
SQL Server 2000
Divers
Thread ID:
01088584
Message ID:
01088584
Vues:
62
I wish to copy records from a table in one database (db1.table1) to a similar table in another database (db2.table2), but I am not sure about the syntax.

I guess it would go something like...
INSERT INTO db2.table2 (SELECT * FROM db1.table1), but this does't work.

Any help would be appreciated.

Alan
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform