Home Microsoft SQL Server DigiMailing iRN Contact
    Keyword



sys.sp_xml_schema_rowset

 

This is a procedure in the mssqlsystemresource database.




Syntax

create procedure sys.sp_xml_schema_rowset
(
    @collection_name    sysname,
    @schema_name        sysname = null,
    @target_namespace   sysname = null
)
as
    select
        SCHEMACOLLECTION_CATALOGNAME    = xsv.SCHEMACOLLECTION_CATALOGNAME,
        SCHEMACOLLECTION_SCHEMANAME     = xsv.SCHEMACOLLECTION_SCHEMANAME,
        SCHEMACOLLECTIONNAME            = xsv.SCHEMACOLLECTIONNAME,
        TARGETNAMESPACEURI              = xsv.TARGETNAMESPACEURI,
        SCHEMACONTENT                   = xsv.SCHEMACONTENT

    from
        sys.spt_xml_schema_view xsv

    where
        xsv.schemacollectionname = @collection_name and
        (@schema_name is null or xsv.schema_id = schema_id(@schema_name)) and
        (@target_namespace is null or @target_namespace = xsv.targetnamespaceuri)

    order by 1,2,3,4

 
Last revision 2008RTM
See also

  sp_xml_schema_rowset2 (Procedure)
       



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