Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return Stored Proc Parameters
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
01406967
Message ID:
01406979
Vues:
41
>>Is it possible to return a list of the parameters for a SQL stored proc\?
>>
>>I have this
>>
>>SELECT Name FROM sys.procedures ORDER BY Name
>>
>>which returns the proc names. Now I want the param names foe a given proc.
>
>Try
>

>SELECT P.Name, syscolumns.Name, systypes.Name, syscolumns.length
>FROM syscolumns INNER JOIN systypes ON syscolumns.xtype = systypes.type
>INNER JOIN sys.procedures P on SysColumns.ID = P.Object_ID
>order by P.Name

Perfect! Thank you!
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform