DATETIME SELECT SELECT INTO DATE PAD STRING DYNAMIC SQL CURSOR MONEY FORMAT PERCENT STORED PROCEDURE SQL SERVER AGENT JOB OPTIMIZATION WHILE LOOP OVER PARTITION BY UPDATE
 
 
SITE SEARCH SQLUSA.com VIDEOS
 
 
SQL E/BOOKS   WORLD, USA & SQL NEWS   FORMAT
SCRIPTS SQL 2005 SQL 2008 ARTICLES
How to check indexes on a table?

Use the following Microsoft SQL Server system stored procedure:

USE AdventureWorks2008;

EXEC sp_helpindex 'Production.Product'

 

index_name index_description index_keys
AK_Product_Name nonclustered, unique located on PRIMARY Name
AK_Product_rowguid nonclustered, unique located on PRIMARY rowguid
idxProdInclude nonclustered located on PRIMARY ProductNumber, Name
idxProductNum nonclustered located on PRIMARY ProductNumber
PK_Product_ProductID clustered, unique, primary key located on PRIMARY ProductID

 

 

Exam Prep 70-461
SQL 2016 DESIGN & PROGRAMMING
 
 
 
DATETIME SELECT SELECT INTO DATE PAD STRING DYNAMIC SQL CURSOR MONEY FORMAT PERCENT STORED PROCEDURE SQL SERVER AGENT JOB OPTIMIZATION WHILE LOOP OVER PARTITION BY UPDATE