Viewing 15 posts - 226 through 240 (of 13,429 total)
i've been using a modified version of this script sp_help_revlogin_roles, which scripts logins and some server roles for you for an easier migration:
https://www.itprotoday.com/strategy/cloning-security-objects-between-servers
January 21, 2019 at 2:30 pm
sp_send_dbmail is asynchronous. the whole process is already a service broker.
it returns success and an mail_od immediately without actually sending anything, and puts it in a queue.
the...
January 21, 2019 at 12:13 pm
not sure if this helps.
Fore security reasons, i never log in as my elevated account, but as a regular account,and spawn applications with the privileged account as needed. via...
January 15, 2019 at 3:17 pm
Here's my first suggestion:
grab a copy of Adam Mechanic's sp_whoisactive and put it in the master database:
http://whoisactive.com/downloads/
running a command like this manually will give...
January 10, 2019 at 3:06 pm
For Production, NetApp SNAPs cannot do an individual databases point in time restore, can it?
if they can demo you can rollback to a specific point in time, for one...
January 10, 2019 at 12:56 pm
they need to bump up their skillset, and this is your opportunity to help them.
do not allow SQL connections. period. eventually that password gets passed around and is insecure.
December 31, 2018 at 12:33 pm
i would resolve it forever.
granting execute to the role without limitations like the script did, grants that right to all objects current and created in the future, so you...
December 31, 2018 at 11:04 am
in my case, in all my databases, i create a custom role, and grant some developer group access to that role:IF NOT EXISTS(SELECT 1 FROM sys.database_principals dp...
December 31, 2018 at 10:24 am
it sounds like the procedure is being dropped and recreated. that would lose all permissions in the way you describe, but appear as if the permission was revoked, instead of...
December 28, 2018 at 5:16 pm
as someone mentioned, it is a big topic, with a little bit art and a little bit experience to tune the queries on a server.
In my opinion, this...
December 28, 2018 at 2:39 pm
I didn't see the real schema of the table, but here is my advice:
while you cannot change the schema, you can add new tables to keep track of what...
December 28, 2018 at 1:13 pm
there are a number of built in functions you can use to get error and other information.
parent procedure (the name of the procedure calling a procedure, for example) or...
December 26, 2018 at 8:45 am
depending on the data types being passed in the table definition itself, sometimes no more than two versions difference allowed for replication between the publisher and the subscriber.
SQL...
December 26, 2018 at 8:28 am
the using definition is your friend here.
using that will automatically destroy your object for you once they go out of scope:
change those two lines for your object to...
December 17, 2018 at 11:48 am
I use a version of the query below every M-F:
it returns all jobs who's LAST status is failed.
that means jobs that execute every x minutes,and experienced a hiccup,...
December 17, 2018 at 9:49 am
Viewing 15 posts - 226 through 240 (of 13,429 total)