Home Microsoft SQL Server DigiMailing iRN Contact
    Keyword



sys.sp_indexes_managed

  No additional text.


Syntax

create procedure sys.sp_indexes_managed
(
	@Catalog			sysname = NULL,
	@Owner			sysname = NULL,
	@Table 			sysname = NULL,
	@Name			sysname = NULL
)
as
	select
		constraint_catalog		= s_iv.constraint_catalog,
		constraint_schema		= s_iv.constraint_schema,
		constraint_name		= s_iv.constraint_name,
		table_catalog			= s_iv.table_catalog,
		table_schema			= s_iv.table_schema,
		table_name			= s_iv.table_name,
		index_name 			= s_iv.index_name,
		type_desc			= s_iv.type_desc
from
	sys.spt_indexes_view_managed s_iv
where
	(s_iv.TABLE_CATALOG = @Catalog or (@Catalog is null)) and
	(s_iv.TABLE_SCHEMA = @Owner or (@Owner is null)) and
	(s_iv.TABLE_NAME = @Table or (@Table is null)) and
	(s_iv.INDEX_NAME = @Name or (@Name is null))
order by table_name, index_name

 
Last revision 2008RTM
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