Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Appending from one table into another
Message
De
06/04/1998 11:22:26
 
 
À
06/04/1998 11:21:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00089811
Message ID:
00089830
Vues:
33
>>>I need to append a table from a SQL Server database into another table of the same name and same structure in another SQL Server database.
>>>
>>>In Visual FoxPro, this can be done with the APPEND FROM command. Is this a mystery or I couldn't find a command like for SQL Server? Do I have to do a Visual FoxPro program to loop for each record and insert them manually into the other table?
>>
>>You can use INSERT-SQL (it's richer in SQL Server)
>
>Am I correct that using a statement similar to this should be what I should focus to?
>
>INSERT INTO NEWDATABASE.MESSAGE SELECT * FROM OLDDATABASE.MESSAGE

Yes, it works.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform