Viewing 15 posts - 31 through 45 (of 598 total)
Update: user wanted two more filtering fields so I added those in and those two *do* show up with a default value of all/NULL (using the default default value of...
November 28, 2011 at 9:15 am
Done, but I'm still being forced to select something before the report will run. I want it to auto-run as soon as I open it.
November 28, 2011 at 8:00 am
Good questions. Don't think I'll put these on the questionnaire given the tech skills (or rather lack thereof) of the audience but they're definitely good ones to keep in mind.
November 18, 2011 at 11:22 am
Lowell, he wanted it scriptable...
Here's where to check the job stuff:
msdb.dbo.sysjobs
msdb.[dbo].[sysoperators]
So in essence you'd get the data from these tables then run the above SP to add the notify. There's...
November 16, 2011 at 7:27 am
This is what I get from scripting that:
USE [msdb]
GO
EXEC msdb.dbo.sp_update_job @job_id=N'01cc77f0-9ea0-4e26-9cc5-2cdda24086b5',
@notify_level_email=2,
@notify_level_netsend=2,
@notify_level_page=2,
@notify_email_operator_name=N'DBA'
GO
You'd have to take this and join it with the msdb table to get the job...
November 15, 2011 at 1:01 pm
Thanks, Craig. SLA's are handled in the main IT intake form. We're just expanding the database part. And yes, when we can (which isn't always possible due to the last-minute...
November 15, 2011 at 12:03 pm
Frequency of backups depends upon the amount of activity on the database. As a general rule I do nightly full backups and transaction log backups every 30 minutes on our...
November 15, 2011 at 11:58 am
This line is the issue:
'IconFile' = CASE WHEN Files.FileName IS NULL THEN Events.IconFile
...
September 21, 2011 at 2:26 pm
That makes a lot of sense, Drew. I think I'll stick with my solution as I think it's more readable and it looks to be working well, but I'll definitely...
September 21, 2011 at 1:24 pm
I suspect most of those 14 seconds are from pulling the rows from DB2 into the initial SQL Server temp table - that's always our bottleneck and at this point,...
September 21, 2011 at 9:05 am
(umm, that would be "she")
The original code wouldn't do it without a trim as I was dealing with DB2. I *do* have a workaround for the RTRIM now that...
September 21, 2011 at 8:51 am
Ninja's_RGR'us (9/20/2011)
RTRIM(u.SourceValue)
I also don't see how you can possibly need it...
September 20, 2011 at 2:50 pm
Drew:
I wondered about that. Was the only way I could get that TVF to work, though.
doing the trims outside the function isn't really a possibility. So how do I do...
September 20, 2011 at 2:38 pm
Lowell:
NewValue_Load is the only actual table in the query. That table is truncated and populated anew every day. I have several different flavors of queries that use the function in...
September 20, 2011 at 2:34 pm
It's a simple string to string translation so I don't think sample data is relevant (especially since in this case it would have to be entirely faked)
The surrounding query is...
September 20, 2011 at 2:25 pm
Viewing 15 posts - 31 through 45 (of 598 total)