Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Appending from one table into another
Message
From
06/04/1998 11:22:26
 
 
To
06/04/1998 11:21:11
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00089811
Message ID:
00089830
Views:
37
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform