Viewing 2 posts - 1 through 3 (of 3 total)
Thanks much for your reply. This is what I use :
use [databasename]
Go
EXEC dbo.ap_RebuildIndexes @maxfrag=15.0, @maxdensity=90.0
, @databasename='databasename'
in sql jobs I don't need first two lines because I can choose the database...
January 10, 2008 at 4:54 pm
#766931
would you please elaborate. What database context you referring to?
January 10, 2008 at 3:29 pm
#766906