Viewing 3 posts - 1 through 3 (of 3 total)
Comment Updated
My original comment had said that the one exception to the "don't use the root" rule was the ephemeral D drive for Azure VMs.
However, having experimented, you shouldn't put...
December 29, 2022 at 6:51 pm
Here's a version that'll run on one database and produce results for all databases (assuming they're setup as linked servers on the main db).
Could be further improved by putting the...
June 12, 2012 at 6:15 am
Heya,
possibly a bit late, but if it's still of use. . .
Alter procedure tabproc
(
@tablename sysname
)
as
begin
EXEC('Select count(*) from ' + @tablename + ' where isactive = 0' )
End
Basically the code in...
December 20, 2010 at 11:50 am
Viewing 3 posts - 1 through 3 (of 3 total)