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

  1. SELECT COUNT(*) FROM tableName
  2. SELECT rows FROM sysindexes WHERE id = OBJECT_ID(tableName) AND indid < 2
Posted by Mohit
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: Sql Server

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Search This Blog

Index

  • ►  2017 (1)
    • ►  February (1)
  • ►  2016 (1)
    • ►  February (1)
  • ►  2014 (2)
    • ►  March (2)
  • ►  2013 (1)
    • ►  January (1)
  • ►  2012 (3)
    • ►  December (1)
    • ►  October (1)
    • ►  February (1)
  • ►  2011 (1)
    • ►  March (1)
  • ►  2010 (4)
    • ►  May (2)
    • ►  March (2)
  • ►  2009 (22)
    • ►  November (1)
    • ►  October (6)
    • ►  August (3)
    • ►  July (2)
    • ►  June (3)
    • ►  May (3)
    • ►  March (4)
  • ▼  2008 (17)
    • ►  December (1)
    • ►  September (1)
    • ►  August (1)
    • ►  April (2)
    • ▼  February (12)
      • What is the use of DBCC commands
      • What is cursors
      • What is the difference between clustered and a non...
      • What is @@ERROR
      • What is Raiseerror
      • What is Transaction
      • count of the number of records in a table
      • Advantages of Stored Procedure.
      • What is the use of COALESCE ?
      • case sensitive searches in SQL Server
      • Insertion Queries
      • How many types to create New Table
Mohit
View my complete profile

Blogs

  • AngularJS
  • Asp.net
  • Vb.net Link
  • Obect Oriented Programming
Ethereal theme. Powered by Blogger.