Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Records update for SQL
Message
 
 
À
03/12/2002 11:26:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00723076
Message ID:
00729051
Vues:
28
Thank you for your information.


>>Daniel,
>>
>>PMFJI, I do chain/batch commands with SQLExec() all the time, and I never use the semicolon to "chain" the commands.
>>
>>This is the way I would have done it.
>>
>>TEXT TO lcSQL TEXTMERGE NOSHOW
>>update table set x = y where <<condition>>
>>select @@rowcount as rowcount
>>ENDTEXT
>>*&
>>= sqlexec(liConnection, lcSQL, curResults)
>>
>>
>>And my question is, are we doing to same thing? Or they're different?
>>
>>Hope you understand my question.
>>
>>TIA.
>>
>>
>>Wan
>
>It does look like we are doing the same thing. I dismember where I saw the info on using a semi-colon, but if you look up "batches, executing statements with ODBC" in the BOL you will see one example.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform