Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there an advantage to using SQLPREPARE()?
Message
 
À
05/05/2000 12:43:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00366557
Message ID:
00366657
Vues:
25
>>Is there an advantage to using:
>>
>>SQLPREPARE(mnconnection,'SELECT....','cMyCursor')
>>SQLEXEC(mnconnection)
>>
>>as opposed to just:
>>
>>SQLEXEC(mnconnection,'SELECT....','cMyCursor')
>
>From what I understand, SQLPREPARE will make the call faster for functions that will be called multiple times, because the the request doesn't have to be compiled each time...

Well, unless I'm missing something, that seems kind of useless. I can't even think of a reason why I would run the same SQL-SELECT multiple times in a row.

Thanks for the reply.
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform