| | |
How do you count number of records in Sql?
Please support our MS SQL advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Feb 2007
Posts: 6
Reputation:
Solved Threads: 0
Hi:
I'm writing a VBA macro in xls to chart various records that I'm querying from MS SQL. One of the values that are most important for me to chart is the total number of records. The way I have the xls code, I can pull the data into xls and then count rows. However, sometimes the number of rows queried exceeds the 65K max rows in xls...and the program fails.
Could anyone suggest how I could just extract the number of records directly from sql, using a code that I can embed in my xls code?
Thanks in advance for your help!
-m
I'm writing a VBA macro in xls to chart various records that I'm querying from MS SQL. One of the values that are most important for me to chart is the total number of records. The way I have the xls code, I can pull the data into xls and then count rows. However, sometimes the number of rows queried exceeds the 65K max rows in xls...and the program fails.
Could anyone suggest how I could just extract the number of records directly from sql, using a code that I can embed in my xls code?
Thanks in advance for your help!
-m
![]() |
Similar Threads
- Question with xls querries from sql (Visual Basic 4 / 5 / 6)
- Count number of one's in 32 bits (C)
- performance troubles.. (MS SQL)
- Count number of checkboxes being checked in asp.net (ASP)
- Displaying a certain number of records (MS SQL)
- Beginner: Insert, Update, Delete & Search records from/to sql database (ASP.NET)
- Waiting Room Access DB (Visual Basic 4 / 5 / 6)
- Please Help!!! MOD function (ASP)
Other Threads in the MS SQL Forum
- Previous Thread: How to Backup database - SQL Server 2000
- Next Thread: SQL Report Help
| Thread Tools | Search this Thread |
Tag cloud for MS SQL
"last autogrowth business connectingtodatabaseinuse count cursor data database dateadd datepart day" dbsize deadlock delete_trigger exploit getdate hack highperformancecomputing hpc hpcserver2008 ibm iis limit loop maximum microsoft ms mssql multiple multithreading news number password permission position query reporting result security server services sets single source sql sql-injection sqlserver sqlserver2005 subtype supercomputing supertype tables uniqueid update view weekday





