Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing parameters from VFP to Stored Procedures
Message
From
12/09/2001 09:36:28
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00554615
Message ID:
00555461
Views:
22
Hi!

I guess there are no limitation for length of T-SQL commands batch. Just try:

strSQL = replicate("INSERT INTO tmp (tmp) Values(1)"+chr(13)+chr(10),60000)
SQLEXEC(nConnectHandle,strSQL)

And see what happen (in aerror() result).

>Hi, Vlad...
>
>Interesting! I wouldn't have thought of that...one question - at what point would the string size of the entire SQL string exceed system capacity (either within VFP or within SQL Server)?
>
>Thanks for your help and suggestions!
>Kevin
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform