Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Function or SP?
Message
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Divers
Thread ID:
00761326
Message ID:
00761494
Vues:
32
>Hi everybody,
>
>I want to create an SP, which would receive
>CartID, FieldList1, FildList2, FieldList3 as input parameters and have 3 output parameters Rec1, Rec2, Rec3. Return value - error code.
>
>Inside this procedure I want to call either function or procedure, which would return resultset as a table.
>
>Something like
>function ReturnInfoByStateCategory
>...
>return info as a cursor.
>
>Should I use UDF or SP with Cursor Output? Which way is preferable?

Only UDF can return table.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform