Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copying records from one database to another
Message
 
 
À
19/01/2006 14:25:56
Alan Harris-Reid
Baseline Data Services
Devon, Royaume Uni
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2000
Divers
Thread ID:
01088584
Message ID:
01088585
Vues:
7
INSERT INTO db2.dbo.table2 SELECT * FROM db1.dbo.table1
>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
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform