Viewing 13 posts - 1 through 13 (of 13 total)
for some running totals, something i had open today
SELECT PerfCat,
RLA,
M,
...
December 5, 2013 at 11:11 am
i execute this against my central management servers:
EXEC sys.sp_MSforeachdb '
IF (SELECT owner_sid FROM sys.databases WHERE name = ''?'') <> 1
ALTER AUTHORIZATION ON DATABASE::? TO [SA]
'
October 2, 2012 at 7:56 am
version says
Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64) Jun 17 2011 00:54:03 Copyright (c) Microsoft Corporation Enterprise Edition (64-bit) on Windows NT 6.1...
April 10, 2012 at 11:30 am
thanks for the super quick replies
yes, we are going to look away from the dmv for now
kind of scary though if you don't feel like you can trust one...
i've been...
April 5, 2012 at 2:23 pm
yes 2008R2 SP1
April 5, 2012 at 2:18 pm
when i select @@ version or
use sys dm_os_sys_info for the virual_machine_type
i get one result telling me the server is virtual
but if i run systeminfo at command prompt or...
April 5, 2012 at 2:07 pm
what happens if you run query in management studio?
June 4, 2009 at 8:52 am
CHAR() only accepts integer value. what if you drop it entirely
SELECT SUBSTRING(LONG_NAME,0,80) AS LONG_NAME
June 3, 2009 at 8:48 am
Are you using 2005?
You need to run the job in 32 bit. For job step, use
Type: Operating system (CmdExec)
Command: C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn\dtexec.exe /FILE "my_file_location" /MAXCONCURRENT " -1...
May 21, 2009 at 8:19 am
yes! this does work, and strangely makes me feel more at peace with the world. thank you.
May 12, 2009 at 2:16 pm
I haven't gotten into all the existing jobs yet, but have a bunch with
last_run_outcome = 5
last_outcome_message = NULL
last_run_date = 0
and was tinkering with code...
May 5, 2009 at 9:51 am
I also had to exclude 5 (unknown) from last_run_outcome in usp_getFailedJob. Had a bunch of 0's in the last_run_date in this case and broke the convert.
May 5, 2009 at 8:53 am
I have an hour long commute, so I read.
March 24, 2009 at 11:28 am
Viewing 13 posts - 1 through 13 (of 13 total)