PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 2024
→
HprépareRequeteSQL meme effet qu'une procedure stockée?
HprépareRequeteSQL meme effet qu'une procedure stockée?
Started by Chotard Olivier, Feb., 11 2005 4:52 PM - No answer
Connect yourself…
Chotard Olivier
#1
Posted on February, 11 2005 - 4:52 PM
bonjour,
je me demandais si utiliser la fonction HPrépareRequeteSQL dans windev avait le meme effet (meme performance) que d'appeler une procedure stockée (Serveur SQL Server) dans le cas ou l'on appelle cette requete plusieur fois (boucle TANTQUE)
Ce code :
TANT QUE pas fini
SQLTexte = "Exec MaProcedureStocké 'param' "
HExécuteRequêteSQL(rSQL,MaConnexion,hRequêteSansCorrection,SQLTexte)
//traitement
FIN
plus perfermant que celui-ci ? :
SQLTexte = "SELECT MesChamps FROM Table1 INNER JOIN Table2 ON Truc=truc WHERE champ=@param" //correspond au code SQL contenu dans la procedure stockée
hPrepareRequeteSQL(rSQL,MaConnexion,hRequêteSansCorrection,SQLTexte)
TANT QUE pas fini
rSQL.param = "Truc"
HexecuteSQL(rSQL)
FIN
executer hPrepareRequeteSQL sur une procedure stockée, encore plus performant?
merci
Report
0
0
→ Go back to WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
WEBDEV (earlier versions)
WINDEV Mobile (earlier versions)
Reports & Queries
Off-topic
Tools
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text