Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL String longer than 255 chars
Message
From
09/02/2001 12:02:41
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
 
To
09/02/2001 11:29:26
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00474474
Message ID:
00474488
Views:
14
>Does the "bug" or "condition" still exist that requires SQL strings longer than 255 characters ( Q163800 ) to be broken up when using SQLEXEC() or was this corrected in one of the SP's?
>
>Thanks,
>Bill

Bill,

I send some really long ones, put together like this:
cSelect = [SELECT * FROM MyTable ]
cWhere = [WHERE SomeField = “Some character value” ] + ;
  [AND SomeOtherCondition = .T. ]
cOrderBy = [ORDER BY Field1, Field2, Field3 ]

cSQLCommandString = cSelect + cWhere + cOrderBy

lWasISuccessful = SQLEXEC(lnHandle, cSQLCommandString, "ResultCursor")
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform