Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set vs Exec
Message
 
 
À
11/01/2008 10:14:29
Dave Sonier
Technologies Nter inc.
Gatineau, Québec, Canada
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Versions des environnements
SQL Server:
SQL Server 2000
Divers
Thread ID:
01281129
Message ID:
01281157
Vues:
8
Your SP1 does not return a value, it returns a recordset. See Re: Using result set Message #644072

>Sorry it's not work.
>It did some tests. My value return always 0.
>
>Here's a sample...
>declare @x int
>exec @x = SP1
>select @x
>
>result: 0
>
>Normally, SP1 should be return a value.
>
>Create procedure SP1 as
>declare @Y int
>set @y = 1
>select @y
>
>Thank.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform