Viewing 15 posts - 511 through 525 (of 13,460 total)
why not have a new DBA job that now updates any jobs not owned by [sa] to be [sa], and any job steps that are of type SSIS to have...
Lowell
May 22, 2017 at 10:45 am
seems like the right thing to do is simply replace dbo permissions with something that is almost, but not quite the same. that would address the issue, i would think. Lowell
--help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!
May 22, 2017 at 10:02 am
awesome. that's the way to code defensively.
Lowell
May 22, 2017 at 9:25 am
did you hard code it to a string 'EXECUTE AS', so 'EXECUTE{CrLf}
AS' would still be allowed?
Lowell
May 22, 2017 at 8:47 am
nevermind...you explicitly said you toggled 32 bit mode....
Lowell
May 22, 2017 at 5:47 am
I've written cleanup procedure that generate the sp_rename command for what i consider the the friendly name., so if the constraint doesn't match my expected name, it generates a command...
Lowell
May 22, 2017 at 5:28 am
is it not true that the only person that can do a procedure featuring EXECUTE AS is going to be a sysadmin anyway?
a regular user cannot create a procedure...
Lowell
May 22, 2017 at 5:22 am
DatabaseMail , in a way, is exactly like any other mail client...office365,ThunderBird, Google Mail, etc. it just uses a connection to a real mail server to forward an email, which...
Lowell
May 20, 2017 at 12:04 pm
"not running" doesn't tell us anything.
if you got a specific error, tell us the error.
if you ran the select, was it an empty string?
maybe you have schemas...
Lowell
May 20, 2017 at 11:51 am
Ed generated the string you have to execute.
in his example the last line is the command, it was up to you to execute itSELECT @strSQL;
Lowell
May 20, 2017 at 10:39 am
you missed the point about entity framework.
the EF DBContext probably has fifty tables or more inside.
It's absolutely possible/probable, that because the context is using a big transaction...
Lowell
May 19, 2017 at 2:41 pm
the last lines of the error message tells you where in the code it failed, right?
I'd guess that EF/Linq is adding a bunch of tables to your context that...
Lowell
May 19, 2017 at 1:45 pm
Lowell
May 18, 2017 at 10:29 am
also, the attachment has to be accessible to the SERVER; so if the file is on the C: drive of your laptop, and the server is a different machine than...
Lowell
May 17, 2017 at 10:58 am
I've done something like thisrequest, but via powershell; you have a lot more versatility there than pinging stuff via xp_cmdshell
regardless of where you do it, the logic is basically...
Lowell
May 16, 2017 at 2:01 pm
Viewing 15 posts - 511 through 525 (of 13,460 total)