Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Function or SP?
Message
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Function or SP?
Divers
Thread ID:
00761326
Message ID:
00761326
Vues:
62
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?
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform