Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sql server Stored Procedure Help
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00589800
Message ID:
00589828
Vues:
18
The order of parameters is incorrect
lnResult=SQLEXEC(gnConnHandle,"exec sp_DisplaySchedule ?gdLoadF,?gdLoadT, ?<b>gnViewDept</b>")
>VFP Code:
>
>
>
>gdLoadF=DTOC(DATE())
>gdLoadF=CTOT(gdLoadF+" 00:00:00")
>
>gdLoadT=DTOC(DATE())
>gdLoadT=CTOT(gdLoadT+" 23:59:00")
>
>lnResult=SQLEXEC(gnConnHandle,"exec sp_DisplaySchedule ?gnViewDept,?gdLoadF,?gdLoadT")
>
>IF lnResult < 1
>   aError(lcErrtxt)
>   DO disperr
>ENDIF
>
>
>
>
>Thanks
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform