Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SqlExec Command
Message
From
18/09/2003 16:16:40
Fred Wood
Madera Systems Consulting
Mill Valley, California, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
SqlExec Command
Miscellaneous
Thread ID:
00830462
Message ID:
00830462
Views:
65
I am trying to use the following SQL pass-through command:

=SQLEXEC(ln_connection, "INSERT INTO sohshp (&lc_hfields) VALUES (&lc_hvalues)")

I have a valid SQL connection handle, I have defined the fields and values strings and the values are populated with a SCATTER from the VFP table. However, it seems that if the lc_hvalues character string gets over 128 the command failes.

Does anyone know if there is a lenght limit for the INSERT-SQL fields or values clauses?

Will the INSERT-SQL work better with an array or will it work with an object name?

Thanks
Next
Reply
Map
View

Click here to load this message in the networking platform