Viewing 15 posts - 826 through 840 (of 13,469 total)
since this is more of an in your face dashboard, you'll need to build the pieces, failed jobs vs next scheduled jobs.
this site has a nice query for the next...
November 15, 2016 at 10:00 am
also in my experience, every trigger,package,procedure and function in oracle will have to be rewritten, even when they is doing the most trivial CRUD operations, and especially because the...
November 14, 2016 at 7:52 am
Eric thanks for prompting me to investigate Server Roles deeper.
this is the role i came up with, that grants select on any user objects as well as the view server...
November 11, 2016 at 2:53 pm
interestingproblem;
here's how i think i would tackle it;
substitute [ClarkKent] for your [domain\ADGroup]
Create LOGIN [ClarkKent] WITH PASSWORD='NotTheRealPassword'
--see anything in the DMV's
GRANT VIEW SERVER STATE TO [ClarkKent];
--allow to see object definitions, tables...
November 11, 2016 at 1:49 pm
wouldn't creating a dacpac be an option? i
m not sure if they are SQL Server version agnostic or not, but the dacpac has the object schemas, ; i though...
November 9, 2016 at 2:35 pm
aliases are your friend, especially with a delete construct like this;
here's an example:
; with cte
AS
(
select * FROM employee
)
delete myTarget
from #temp myTarget
inner join cte MySource ON myTarget.id = MySource.id
November 8, 2016 at 3:27 pm
this is the kind of annoying projects that make you reach for your nearest programming language;
SSIS is handicapped when it comes to data lengths being dynamic.
I've got an Generic CSV...
November 8, 2016 at 12:24 pm
sp_help_revlogins will do that for you;
it produces results like this, because it uses a bin to hex function:
-- Login: ClarkKent
IF NOT EXISTS ( SELECT * FROM sys.server_principals WHERE name =...
October 28, 2016 at 7:33 pm
i've seen things like this, where backups are scheduled at 4am, and then so is an reindexing job AND a statistics job.
all at 4am. once all the sorting in tempdb...
October 28, 2016 at 6:54 am
But thats easily fixed with smart code
If exists... and @@SERVERNAME='Production' And db_name='ProdDB'
So i would argue it all belongs in a single procedure.
October 26, 2016 at 5:43 pm
like Sue_H, i would have the procedure send the email. if you are reusing the procedure elsewhere, add an optiona parameter with a default, like @sendEmailNotification int=0
it looks like...
October 25, 2016 at 6:18 pm
Texas A&M University offers A bulk cleansing service you could try.
you upload a txt or csv and get back results;
you have to register/create an account, but I believe it's free.
October 25, 2016 at 1:55 pm
i just recently did the opposite of what the OP is looking to do: i expanded all abbreviations to full words;
mine was an investigation to eliminate variations in abbreviations and...
October 21, 2016 at 2:59 pm
Jeff Moden (10/18/2016)
October 19, 2016 at 4:58 am
Is it truely an archive database, so you can just toggle it to read only mode, or is it somewhere in between?
You could add a file group, and move...
October 18, 2016 at 4:24 am
Viewing 15 posts - 826 through 840 (of 13,469 total)