exec sp_helpdb [dbName]oruse [dbName]select str(sum(convert(dec(17,2),size)) / 128,10,2) + 'MB'from dbo.sysfiles
thanks.. nice info
could u please explain me why we r dividing by 128 and what is the purpose of 128,10,2
thanks.. nice info
ReplyDeletecould u please explain me why we r dividing by 128 and what is the purpose of 128,10,2
ReplyDelete