Home Microsoft SQL Server DigiMailing iRN Contact
    Keyword



sys.sp_indexes_90_rowset

  No additional text.


Syntax

create procedure sys.sp_indexes_90_rowset
(
    @table_name     sysname,
    @index_name     sysname = null,
    @table_schema   sysname = null
)
as
    select
        TABLE_CATALOG       = s_iv.TABLE_CATALOG,
        TABLE_SCHEMA        = s_iv.TABLE_SCHEMA,
        TABLE_NAME          = s_iv.TABLE_NAME,
        INDEX_CATALOG       = s_iv.INDEX_CATALOG,
        INDEX_SCHEMA        = s_iv.INDEX_SCHEMA,
        INDEX_NAME          = s_iv.INDEX_NAME,
        PRIMARY_KEY         = s_iv.PRIMARY_KEY,
        [UNIQUE]            = s_iv.[UNIQUE],
        [CLUSTERED]         = s_iv.[CLUSTERED],
        [TYPE]              = s_iv.[TYPE],
        FILL_FACTOR         = s_iv.FILL_FACTOR,
        INITIAL_SIZE        = s_iv.INITIAL_SIZE,
        NULLS               = s_iv.NULLS,
        SORT_BOOKMARKS      = s_iv.SORT_BOOKMARKS,
        AUTO_UPDATE         = s_iv.AUTO_UPDATE,
        NULL_COLLATION      = s_iv.NULL_COLLATION,
        ORDINAL_POSITION    = s_iv.ORDINAL_POSITION,
        COLUMN_NAME         = s_iv.COLUMN_NAME,
        COLUMN_GUID         = s_iv.COLUMN_GUID,
        COLUMN_PROPID       = s_iv.COLUMN_PROPID,
        [COLLATION]         = s_iv.[COLLATION],
        CARDINALITY         = s_iv.CARDINALITY,
        PAGES               = s_iv.PAGES,
        FILTER_CONDITION    = s_iv.FILTER_CONDITION,
        INTEGRATED          = s_iv.INTEGRATED,
        STATUS              = s_iv.STATUS

    from
        sys.spt_indexes_view s_iv

    where
        (
            (@table_schema is null and s_iv.TABLE_NAME = @table_name) or
            object_id(quotename(@table_schema) + '.' + quotename(@table_name)) = s_iv.object_id
        ) and
        (@index_name is null or @index_name = s_iv.INDEX_NAME)

    order by 8, 10, 4, 5, 6, 17

 
Last revision 2008RTM
See also

  sp_indexes_90_rowset2 (Procedure)
sp_indexes_90_rowset_rmt (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