Viewing 15 posts - 541 through 555 (of 13,469 total)
it could also be nested permissions in Active Directory too.
So The users in [OURDOMAIN\SomeUsers] Are in [OURDOMAIN\BusinessAnalysts], and [OURDOMAIN\BusinessAnalysts] was explicitly granted access.
May 2, 2017 at 3:21 pm
check that login's default database.
see if the database has been dropped/removed, or the user no longer has access to that database. in those cases, setting the default database to...
May 2, 2017 at 3:16 pm
SSRS is a little wierd, you have to assign permissions in two places, at the site, and at the root folder, the screenshot here is from an older verison, but...
May 2, 2017 at 7:43 am
view server state? i guess you are trying to select info about the connection from sys.dm_exec_connections
stick with what i said, either sign the trigger or use EXECUTE AS...
April 30, 2017 at 4:35 pm
the trigger is probably inserting into an audit table, right? and a normal end user does not have access to that table; it might be sending an email, or something...
April 28, 2017 at 8:33 am
correction: the above uses a simpler cmdexec instead of powershell to call robocopy or the DEL command. same thing, different island.
April 27, 2017 at 2:32 pm
Here's a script that I actually use:
It creates a job on Development, which does an on-demand copy_only backup of prod, copies it to the right spot on Dev via...
April 27, 2017 at 2:23 pm
functions cannot use dynamic queries; you'll have to use a procedure instead.
April 26, 2017 at 12:14 pm
from your screenshots, I'd say you ran the installer, but did not install any SQL services, otherwise you would see them in the Services section you posted the screenshot of.
April 26, 2017 at 12:11 pm
not sure what is going on in your case specifically;
i just wrote the attached stuff to explicitly check what my settings are in SSMS vs a TSQL job, vs...
April 26, 2017 at 8:30 am
you did not show your entire query, so it's hard to diagnose.
review your code, because each and every EXECUTE(@SomeCommand) could be the potential problem. how many executes do you...
April 26, 2017 at 7:32 am
you are declaring a command and executing it. the internal command does not have the same settings for quoted identifier
Declare @command varchar (max)
SELECT...
April 26, 2017 at 7:03 am
a wordier version just like what Luis did;
i thought this way shows the advantage of actually storing the data correctly.
I added the three name examples from our other...
April 26, 2017 at 6:09 am
you can use this trick to join your table with a total against a Tally or Numbers table to generate each label you need.
it makes it a lot...
April 25, 2017 at 2:19 pm
backup and restore replaces the entire database(meaning all existing data) with the new backup; since you are saying replace a range of data, from what you are describing, that's not...
April 24, 2017 at 5:48 am
Viewing 15 posts - 541 through 555 (of 13,469 total)