Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insert in sqlpassthrough
Message
From
16/07/2005 06:46:44
 
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:
01033291
Views:
18
the error returned is very strange:'table or view does not exist' but it does! it is the STP with no records where I inserted new values. The steps are:
1)select all fields from mytable into othertable. If no records, (it's my case) 2)I insert into othertable some or all values and 3)launch the statement you know. I tried to copy the structure and values to a different table and modify the statement with this new table, but it's the same error.
Some new idea?
Thanx in advance


>>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
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform