Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there SQLServer equivalent of Append from command ?
Message
From
27/10/2003 05:53:39
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00842714
Message ID:
00842838
Views:
18
>>>Hi All !
>>>I have to copy data from table1 to table2. Both tables are in SQLServer database. The table2 is simply table1 with a slightly midified structure. In VFP I can use one simple command Append from .... What is the best way to do it using SQLServer commands ? Thanks in advance.
>>
>>insert into table2 select ... from table1 ...
>>
>>Cetin
>
>
>Hi Cetin. Thanks
>Insert into table2 select ... from table1 ... semms to be much more demanding as regards as field list then VFP append from.

Yes :( Unfortunately I don't know if there is a simplier way when column counts do not match.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform