Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

String length of SQL command in SQLEXEC

Status
Not open for further replies.

RexAdventure

Programmer
Jan 21, 2002
2
AU
Can anyone tell me what the maxium SQL string length is for SQLEXEC? I've looked in the documentation, but I can't seem to find it anywhere. Using VFP7 and MS SQL 7.

This bit here.
||
\||/
\/
SQLEXEC(connection_handle, SQL_command, return_cursor)
 
HI

connection_handle is a NUMERIC. So why would you want to name it with large flowing characters and bother.

If you are talking about sql_command string.. I think it is 256.

Have a nice day :)

ramani :-9
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
 
I believe the SQL_Command length is dependent on the client/provider and/or back-end you are connecting to.

Rick
 
He was actually pointing to the SQL_command, but the forum font compressed his spaces. I copied/pasted his note here in monospace:
Code:
                         This bit here.
                            ||
                           \||/
                            \/
SQLEXEC(connection_handle, SQL_command, return_cursor)
[/code
 
Argh....that didn't work. Trying again...
Code:
                         This bit here.
                            ||
                           \||/
                            \/
SQLEXEC(connection_handle, SQL_command, return_cursor)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top