Record row count and execution time into table? - Database Discussions
This is a discussion on Record row count and execution time into table? - Database Discussions ; I was wondering if anyone knows the best way to count the number of rows in a table and enter this row count into a table along with how long the query took to execute? I realise that you can ...
![]() |
| | LinkBack | Thread Tools | Display Modes |
|
#1
| |||
| |||
| in a table and enter this row count into a table along with how long the query took to execute? I realise that you can get both the row count and SQL execution time by turning timing on and then running the select count(*) ... but then I have to format the results and then do the insert into a table. Is there an easier way? |
|
#2
| |||
| |||
|
Check out the following article which has a code sample to generate a select count(*) and execute it Is there a good way of counting the number of rows in a table ? http://www.jlcomp.demon.co.uk/faq/count_rows.html Adding time would be trival. HTH -- Mark D Powell -- |
|
#3
| |||
| |||
|
Check out the following article which has a code sample to generate a select count(*) and execute it Is there a good way of counting the number of rows in a table ? http://www.jlcomp.demon.co.uk/faq/count_rows.html Adding time would be trival. HTH -- Mark D Powell -- |
|
#4
| |||
| |||
|
Check out the following article which has a code sample to generate a select count(*) and execute it Is there a good way of counting the number of rows in a table ? http://www.jlcomp.demon.co.uk/faq/count_rows.html Adding time would be trival. HTH -- Mark D Powell -- |
|
#5
| |||
| |||
|
Check out the following article which has a code sample to generate a select count(*) and execute it Is there a good way of counting the number of rows in a table ? http://www.jlcomp.demon.co.uk/faq/count_rows.html Adding time would be trival. HTH -- Mark D Powell -- |
|
#6
| |||
| |||
|
Check out the following article which has a code sample to generate a select count(*) and execute it Is there a good way of counting the number of rows in a table ? http://www.jlcomp.demon.co.uk/faq/count_rows.html Adding time would be trival. HTH -- Mark D Powell -- |
|
#7
| |||
| |||
|
Check out the following article which has a code sample to generate a select count(*) and execute it Is there a good way of counting the number of rows in a table ? http://www.jlcomp.demon.co.uk/faq/count_rows.html Adding time would be trival. HTH -- Mark D Powell -- |
|
#8
| |||
| |||
|
Check out the following article which has a code sample to generate a select count(*) and execute it Is there a good way of counting the number of rows in a table ? http://www.jlcomp.demon.co.uk/faq/count_rows.html Adding time would be trival. HTH -- Mark D Powell -- |
|
#9
| |||
| |||
|
Check out the following article which has a code sample to generate a select count(*) and execute it Is there a good way of counting the number of rows in a table ? http://www.jlcomp.demon.co.uk/faq/count_rows.html Adding time would be trival. HTH -- Mark D Powell -- |
|
#10
| |||
| |||
|
Whoops, wrong link. Try this one instead: Is there a simple way to produce a report of all tables in the database with current number of rows ? http://www.jlcomp.demon.co.uk/faq/count_all_rows.html HTH -- Mark D Powell -- |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
All times are GMT -4. The time now is 12:49 PM.




Linear Mode