Home Microsoft SQL Server DigiMailing iRN Contact
    Keyword



sys.parameters$

  No additional text.


Syntax
CREATE VIEW sys.parameters$ AS
	SELECT c.id AS object_id,
		c.number, c.name,
		c.colid AS parameter_id,
		c.xtype AS system_type_id,
		c.utype AS user_type_id,
		c.length AS max_length,
		c.prec AS precision,
		c.scale AS scale,
		sysconv(bit, c.status & 512) AS is_output,		-- CPM_OUTPUT
		sysconv(bit, c.status & 1024) AS is_cursor_ref,	-- CPM_CURSORREF
		sysconv(bit, isnull(v.objid, 0)) AS has_default_value,
		sysconv(bit, c.status & 2048) AS is_xml_document, -- CPM_XML_DOC		
		v.value AS default_value,
		xmlns AS xml_collection_id,
		sysconv(bit, c.status & 4194304) AS is_readonly -- CPM_IS_READONLY = 0x00400000
	FROM sys.syscolpars c
	LEFT JOIN sys.sysobjvalues v ON v.valclass = 9 AND v.objid = c.id AND v.subobjid = c.colid AND v.valnum = 0	-- SVC_PARAMDEFAULT
	WHERE number > 0 AND has_access('CO', c.id) = 1

 
Last revision 2008RTM
See also

  numbered_procedure_parameters (View)
parameters (View)
spt_parameters_system (View)
spt_parameters_user (View)
system_parameters (View)
system_parameters$ (View)
       



News

  Query a named instance
Sybase+ASE+silent+install
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
VMware
Zoekmachine optimalisatie
SQL Servers hidden objects
FckEditor
Flash in Ajax
De hype die AJAX heet
Barcode scannen
MySQL; Gratis, makkelijk en snel!
PHP
sIFR; de combinatie tussen HTML en Flash