SQLServer-QA.net - Knowledge Sharing Network (SSQA.net)
Invisible community contributions, Visible success to users
Browse by Tags
All Tags
»
tsql
»
information schema
(
RSS
)
best practice
catalog
clustered index
columns
declare
dmv
function
parameter
schema
sql server
stored procedure
system
tables
triggers
views
Quick and simple way to know the stored procedures parameters using TSQL
Published 8 July 8 6:13 AM |
SSQA.net
As you may be aware that you can pass parameters to the stored procedure when you have the selection of data requirement such as stored procedure with data type,length, parameter position and also the mode of parameter (Input or Output). Using INFORMATION_SCHEMA...
TSQL to get clustered index information in SQL Server 2005
Published 10 March 8 3:0 AM |
SSQA.net
Recently within a supportal case with CSS we have been given the following TSQL to get information on indexes, where I have modified a bit to get 'Clustered' index information alone that was helpful to see which tables lack of clustered index...
Ways to make best use of INFORMATION_SCHEMA Views - Stored procedures & Functions?
Published 15 October 7 7:59 AM |
SSQA.net
How many of you took help from using INFORMATION_SCHEMA views in SQL Server? Have you ever wondered in returning the informaiton of a Stored procedure or function, you may be thinking using SP_HELPTEXT would get you. Parts of the solution is yes with...
Getting table name from column name
Published 15 September 7 7:23 AM |
SSQA.net
If you know the name of one column you want to find from which table that is originated, to retrieve the table name you can use following TSQL: SELECT CASE (SELECT COUNT(*) FROM INFORMATION_SCHEMA.COLUMNS AS c2 WHERE c2.TABLE_NAME = c1.TABLE_NAME AND...
TSQL methods to display the owner of schema in a database.
Published 15 August 7 4:23 AM |
SSQA.net
You can use 2 methods to get information about owner of a particular schema or set of schema(s) within the database. Using INFORMATION_SCHEMA views method (which I prefer most of the times): USE <DBName> GO SELECT * FROM INFORMATION_SCHEMA.SCHEMATA...
Search
Go
This Blog
Home
Contact
About
Tags
2005
2008
backup
best practice
best practices
blogs
database
databases
dmv
download
error
high availability
indexes
kba
microsoft
performance
query
replication
reporting services
security
server
sql server
ssis
ssms
tsql
Community
Home
Blogs
Media
Groups
Archives
July 2008 (18)
June 2008 (39)
May 2008 (60)
April 2008 (35)
March 2008 (48)
February 2008 (59)
January 2008 (63)
December 2007 (58)
November 2007 (43)
October 2007 (100)
September 2007 (110)
August 2007 (146)
July 2007 (106)
June 2007 (114)
May 2007 (78)
April 2007 (2)
News
Syndication
RSS for Posts
Atom
RSS for Comments
Email Notifications
Go