Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insert in sqlpassthrough
Message
 
To
05/07/2005 06:42:00
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Oracle
Miscellaneous
Thread ID:
01028916
Message ID:
01028918
Views:
20
>Hi all,
>this statement does not work: sqlexec(nhandle,"insert into mytable select * from othertable").
>Any suggest will be welcome
>Francesco

Number and Type of fields in MyTable must match the number and type of fields in OtherTable. But you can always check WHY this not works:
IF sqlexec(nhandle,"insert into mytable select * from othertable") < 1
   AERROR(aaa)
   DISPLAY MEMO LIKE aaa
ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform