Viewing 15 posts - 241 through 255 (of 373 total)
gitmo (12/14/2010)
In SQL 2008 I right click the database name in Object Explorer, select Reports / Standard Report / Disk Usage by Table.
Oh great... Thanks. I don't know about this...
December 14, 2010 at 9:31 pm
magasvs (12/14/2010)
1) Backup transaction log before indexes optimization
2) Move database to the bulk-logged recovery mode
3) Reorganize indexes
4) Move database back to...
December 14, 2010 at 9:24 pm
jmcmullen (12/14/2010)
SELECT p.name,p.type_desc,r.name as [server role]
FROM
sys.server_principals r
INNER JOIN sys.server_role_members m ON r.principal_id = m.role_principal_id
INNER JOIN sys.server_principals p ON
p.principal_id = m.member_principal_id
order by...
December 14, 2010 at 5:52 am
Formatted query:
SELECT 'IN' AS TRTYPE,
I.INVOICENO AS TRID,
I.INVOICEDATE AS TRDATE,
...
December 14, 2010 at 4:44 am
Andrew Watson-478275 (12/14/2010)
exec sp_msforeachtable @command1='insert #TempTable exec sp_spaceused ''?'''
I also convert the...
December 14, 2010 at 2:21 am
Sachin Nandanwar (12/7/2010)
Jeff Moden (12/4/2010)
Sachin Nandanwar (12/3/2010)
December 7, 2010 at 3:12 am
ziangij (12/6/2010)
Checked the link, could not find if the above number is different in case of...
December 7, 2010 at 12:28 am
Ninja's_RGR'us (12/1/2010)
Toreador (12/1/2010)
December 1, 2010 at 5:00 am
kpyap001 (12/1/2010)
I had prepared the sample given, and below is what I can think of to produce the output given.
;with dy_tb as (
select distinct tableName from...
December 1, 2010 at 4:38 am
One more point: Links are also perfect 🙂
November 28, 2010 at 9:35 pm
Viewing 15 posts - 241 through 255 (of 373 total)