Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is the a sql command to append data?
Message
From
06/04/2002 08:50:02
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00641701
Message ID:
00641782
Views:
9
>is there a sql command to append records from table A into table B?

Unfortunately VFP SQL is not as rich as SQL server's. First you would do a select into a cursor then an append from. When using append from be carefull to use dbf('cursorname').ie:

select ... from tableA into cursor myCursor nofilter
select TableB
append from dbf('myCursor')

BUT actually not using an SQL is a more direct way. ie :

select TableB
append from TableA for < Your expression here - SQL where part >

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