Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SELECT after INSERT does'nt return resultset in Stored P
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Divers
Thread ID:
00522072
Message ID:
00522662
Vues:
14
> rs.open "sp_test 'strParmater1', 'strParameter2'" , cn, _
> adOpenDynamic, adLockOptimistic, adCmdStoredProc
>
> this gives me errors in the rs.open when passing parameters. No errors when not passing paramters.
> (I have even tried these: "EXEC sp_test 'paramter1', 'parametr2'"
> and "EXEC sp_test('paramter1', 'parameter2')"
> and "sp_test ('paramter1', 'parameter2')". I always get an error.

Let's start with the SP. Try calling the procedure from the Query Analyzer as:
EXEC sp_test @parameter1, @parameter2

Make sure you have the parameters declared and set to some values. What is the error there?
Aristotle
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform