Mohit Agrawal
Success is Journey it's not a destination
Menu
Home
Sql server 2008
Differences
February 15, 2008
count of the number of records in a table
SELECT COUNT(*) FROM tableName
SELECT rows FROM sysindexes WHERE id = OBJECT_ID(tableName) AND indid < 2
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment