Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Insert
Message
 
 
To
20/02/2003 04:30:47
Niall Dempsey
Initiative Computers
Athlone, Ireland
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00755376
Message ID:
00755447
Views:
9
It's possible in VFP8. In VFP6 you will do it in two steps.
select * ;
  from table2 ;
  where x = y ;
  INTO CURSOER crsTemp NOFILTER

SELECT table1 
APPEND FROM ( DBF("crsTemp") )
USE IN crsTemp
>Is it possible in VFP6 to use the SQL INSERT command to add records from one or more tables?
>For the example the following works with standard SQL:
>Insert into table1 select * from table2 where x = y
>
>Thanks
>Niall
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform