|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Saturday, September 21, 2002 12:00 AM
Points: 20,
Visits: 1
|
|
|
|
|
|
Valued Member
      
Group: General Forum Members
Last Login: Wednesday, November 05, 2008 2:49 PM
Points: 57,
Visits: 14
|
|
This is a great article, and in most cases this is a quick and effective way to determine the number of rows. However, there is one drawback. The rowcount that is returned may not always be up-to-the-minute accurate, especially if a user has recently bulk-loaded some data into the table.
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Monday, December 01, 2003 12:00 AM
Points: 1,
Visits: 1
|
|
For example, I have a sales detailed table, containing barcodes and its quantity that are sold for the day. What If I want to query the number of items of each barcode that was sold out for the day, so my query would look like this:
SELECT outlet, sales_date, barcode, count(qty) as Quanity FROM sales
Can i still use your example?
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Tuesday, January 09, 2007 5:32 AM
Points: 5,
Visits: 1
|
|
This was an informative articule to find row counts. I appreciate the ease and convienance of this article.
|
|
|
|