Viewing 15 posts - 511 through 525 (of 660 total)
CREATE
TABLE #space (
name varchar
(18),rows char(11),reserved varchar
August 17, 2007 at 2:58 pm
can i use my where clause in your query
like
where datepart(yyyy,convert(char(10),cast(date - 36161 as datetime),101))=1995
August 17, 2007 at 11:38 am
I am not sured If i followed you..
does it work if am comapring the backup of database for 1995 and 1996 to estimate the growth.
like comparing backup of 12/31/1995 with...
August 17, 2007 at 11:08 am
can i just have the row size and multiply by no.of rows or shud i also count no.of bytes assigned for each column in a table.
August 16, 2007 at 2:20 pm
OK Now I got the total no of rows in a database.
Now is there a way to find the space used by my total count.
I got a count of 162345...
August 16, 2007 at 12:06 pm
I am trying to insert into temp table and sum the total but no luck..any help on that.
August 16, 2007 at 11:50 am
exec
sp_MSforeachtable 'select count(*) as no_of_rows, ''?'' as table_name from ?
where datepart(yyyy,convert(char(10),cast(date - 36161 as datetime),101))=1995'
This query is working fine...
August 16, 2007 at 10:56 am
I am able to count no of rows for each table for the year 1995 but how can I add all the count in the database ie: for all the...
August 16, 2007 at 9:57 am
thanks ripg.. tht works fine but how can i do that for the entire database, most of the tables have the same column.
Actually I want to count the no.of rows...
August 16, 2007 at 9:47 am
Viewing 15 posts - 511 through 525 (of 660 total)