PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WEBDEV 2024
→
Appel de procédure stockée SQL Server via OLE DB
Appel de procédure stockée SQL Server via OLE DB
Started by Guillaume KORTUS, Oct., 20 2005 6:11 PM - 2 replies
Connect yourself…
Guillaume KORTUS
#1
Posted on October, 20 2005 - 6:11 PM
Est-il possible d'appeler des procédures stockées SQL Server 2000 avec paramètres via une connexion OLE DB? Si oui, comment?
Merci d'avance.
Report
0
0
abdelhakim
#2
Posted on October, 20 2005 - 8:56 PM
normalement oui , j ai deja executé des procédures stockées sur oracle;
le santaxe :
Marequete ="Begin Maprocedure(Param1,Param2,...,Parami);end;"
sqlexec(Marequete)
cherche un santaxe proche de selui la sur sqlserveur.
Abdelhakim
Report
0
0
[bernard]
#3
Posted on October, 24 2005 - 11:35 AM
Guillaume KORTUS avait prétendu :
Est-il possible d'appeler des procédures stockées SQL Server 2000 avec
paramètres via une connexion OLE DB? Si oui, comment?
Merci d'avance.
bonjour, voici un bout de code:
ConnSql = SQLConnecte
(ChConSql,"monuser","monpassword",CatalogSql,"OLEDB","SQLOLEDB")
SI ConnSql <> 0 ALORS
SI PAS SQLExec("Nom de ma PS "+ "Mes parametres" "REQ1") ALORS
berreur=Vrai
SQLInfoGene("REQ1")
Info("Erreur SQL : " + SQL.MesErreur)
SINON
SQLInfoGene("REQ1")
// on poursuit...
TANTQUE SQLFetch("REQ1") = 0 // Il y a encore une ligne à lire
//traitement
fin
fin
fin
bon dev @+++ !
--
Carpe Diem!
[bernard]
Report
0
0
→ Go back to WEBDEV 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