Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SPT Insert Syntax
Message
 
To
13/09/2006 10:02:04
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01153293
Message ID:
01153302
Views:
20
>What is the proper syntax for the Insert Into SQL command useing SPT?
>
>This will not work for me:
>
>insertTSOTAGDateString = "Insert Into webprddt6.tsotagtblt (cono, recseq)" +;
>" Select cono, serno From myTest"
>
>I am inserting in an AS400 file and I get an error on the SQLEXEC line that there is a data type mismatch however, I know the field type is string for both AS400 file and my cursor.

What is MyTest? VFP Cursor or AS400 table?
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