Viewing 15 posts - 1 through 15 (of 17 total)
It used to matter but now I see a wider role as a chance to broaden my opportunities with my current(and future) employer(s) and raise my marketability and earning potential.
May 20, 2010 at 4:53 am
ALZDBA (4/13/2009)
INFORMATION_SCHEMA views also work with pre sql2005 versions.To only select actual tables you need to add the where clause
Where TABLE_TYPE = 'BASE TABLE'
thx. i didn't mean to imply that...
April 13, 2009 at 1:31 pm
are you saying that your application id has sysadmin role ?
:Whistling:
you can setup a ddl trigger in 2005 to limit ddl activities.
April 13, 2009 at 12:30 pm
if you're stuck in a pre 2005 world you would do:
select * from sysobjects where type ='u'
and name like '%your_table_name%'
April 13, 2009 at 12:19 pm
consider running a profiler trace to see if you have queries consuming
excessive resources. look for high duration and/or reads values.
all it takes is 1 missing index.
on that note...do you have...
April 10, 2009 at 5:26 am
sp_delete_backuphistory
April 8, 2009 at 1:46 pm
i wonder if you could create a proc that kicks off at startup that increments a
counter in a table somewhere.
if the servers down......no incrementing happens.
if its up....well...you get the picture.
April 8, 2009 at 1:30 pm
if you're not cleaning it up then i think yes.
select min(backup_finish_date) from backupset
how much you keep depends upon your needs and system's ability to handle it.
i keep a year and...
April 8, 2009 at 1:21 pm
also run these in your msdb:
select 'sysjobhistory', count(*) from sysjobhistory with (nolock)
select 'sysjobs', count(*) from sysjobs with (nolock)
select 'sysjobactivity', count(*) from sysjobactivity with (nolock)
select 'sysjobsteps', count(*) from sysjobsteps with (nolock)
select...
April 8, 2009 at 1:01 pm
that depends on whether or not you need the history.
that doesn't seem like a lot with the few job you have.
run a trace to see whats going on. see where...
April 8, 2009 at 12:46 pm
Nick (4/7/2009)
Hi Folks,We have a few SQL agent jobs on this box which execute often - one which executes every minute during production hours (damn vendor apps).
Nick
how long...
April 8, 2009 at 12:27 pm
running the above command will help you determine whether any database(s) have
been created on your F: drive
April 8, 2009 at 12:04 pm
no. you should not need to reindex.
you also should not need to reindex after a restore.
(unless the indexes in your backup are fragmented)
April 7, 2009 at 1:41 pm
msdb also stores your backup history among other things.
are you doing anything to purge backup history ?
April 7, 2009 at 1:33 pm
Viewing 15 posts - 1 through 15 (of 17 total)