Home Microsoft SQL Server DigiMailing iRN Contact


  No additional text.


create view sys.spt_parameters_user
        object_id           = s_p.object_id,
                              -- Yukon persists number of 1 for both SPs and UDFs, but we need:
                              -- when o.type in ('P')                then 1 (or actual proc number)
                              -- when o.type in ('FN', 'TF', 'IF')   then 0
                              -- Above conditions should match the ones in sys.spt_all_procedures
        procedure_number    = convert(smallint, s_p.number * objectproperty(s_p.object_id, 'IsProcedure')),
        name                = s_p.name,
        parameter_id        = s_p.parameter_id,
        system_type_id      = s_p.system_type_id,
        user_type_id        = s_p.user_type_id,
        "precision"         = s_p.precision,
        scale               = s_p.scale,
        -- OLEDB spec requires 0 when type size is unlimitted
        max_length          = (case s_p.max_length when -1 then 0 else s_p.max_length end),
        is_output           = s_p.is_output,
        has_default_value   = s_p.has_default_value,
        default_value       = s_p.default_value,
        xml_collection_id   = s_p.xml_collection_id
        sys.parameters$ s_p

Last revision 2008RTM
See also

  spt_sproc_columns_odbc_view (View)


  Query a named instance
SQL 2008 R2
Deprecated procedures in SQL2008
Reporting Services item-level role definitions
Create all your missing indexes
Converting datetime field
Start MSSQL Server Profiler at time
Replicating MSSQL Server views
Exploring Microsoft Sharepoint
The OLE DB provider "SQLNCLI10" for linked server indicates.
Mobile solar charger
Oracle to SQL Server replication
Cannot insert the value NULL into column
Undocumented Microsoft SQL Server 2008
Zoekmachine optimalisatie
SQL Servers hidden objects
Flash in Ajax
De hype die AJAX heet
Barcode scannen
MySQL; Gratis, makkelijk en snel!
sIFR; de combinatie tussen HTML en Flash