Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL String longer than 255 chars
Message
De
09/02/2001 12:02:41
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
 
 
À
09/02/2001 11:29:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00474474
Message ID:
00474488
Vues:
13
>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")
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform