Viewing 15 posts - 166 through 180 (of 2,484 total)
Lester, have you had a look through the script library on this site. There is a good chance that a script like this has already been written.
Also, just a tip,...
September 11, 2007 at 2:30 am
Probably best option would be a .Net File Watcher service.
Within SQL you could setup a little VBScript to run in a SQL Agent job to check the Date Modified...
September 11, 2007 at 2:23 am
@Lester - how does this script solve the problem?
@Jon - are there any additonal error messages in the SQL Server Error log? Windows Application Event Log?
September 11, 2007 at 2:21 am
Jwalant, please start a new thread to post your problems instead of resurrecting threads that are over two years old.
Quite apart from the fact that waits and locks are two...
September 11, 2007 at 2:08 am
Have you run a trace at that time to see whats happening on the server?
September 9, 2007 at 8:17 pm
Only thing that will happen is that the database won't automatically close when there are no connections.
You might actually find that applications using those databases are more responsive when they...
September 6, 2007 at 1:45 am
Well that's pretty clear, the three databases missing from the sqlperf output are set to autoclose and they're shutdown.
You'll need to connect to those databases to "wake" them.
September 5, 2007 at 11:10 pm
I dug this old script up which shows the status from sysdatabases,
select
name as [DB_NAME]
, isnull(case when status & 1 = 1 then 'autoclose' else null end + ',',...
September 5, 2007 at 10:36 pm
Yes it did output all databases and showed two as OFFLINE.
September 5, 2007 at 10:02 pm
Anyone used dbcc sqlperf(logspace) command? is there a bug in it? The reason is that i have 15 databases (including master,model etc..) but everytime i use this dbcc command...
September 5, 2007 at 8:14 pm
Rick, so were you able to sort out the old versions?
September 5, 2007 at 5:43 pm
Doesn't seem that complex at all. Unless we're missing something.
August 31, 2007 at 1:12 am
Peter's response was just on my time conversion. So in my solution you can use style 108 instead of 114.
eg:
select convert(varchar(8), dateadd(second,@sec,0), 108) as WithHour
select right(convert(varchar(8), dateadd(second,@sec,0), 108), 5) as...
August 27, 2007 at 6:00 pm
Actually to be precise { and } are braces, [ and ] are brackets and ( and ) are parentheses.
August 27, 2007 at 4:21 pm
Viewing 15 posts - 166 through 180 (of 2,484 total)