Viewing 15 posts - 6,016 through 6,030 (of 13,468 total)
you only need to grant EXECUTE on a stored procedure.
by design, if the user has EXECUTE permissions, whatever the proc does, whether INSERT/UPDATE/DELETE, the proc will run successfully, and the...
January 27, 2012 at 7:04 am
a full backup is always an exact copy at a certain point of time...so it's just not possible that a backup restores some, but not all users. a backup is...
January 26, 2012 at 12:41 pm
can't you just have your process change each database to RESTRICTED_USER WITH ROLLBACK IMMEDIATE
OR
SINGLE_USER WITH ROLLBACK IMMEDIATE
to kick them out, do your work or maintenance, and then put...
January 26, 2012 at 12:31 pm
Pam just to be sure the path tot eh file is correct, does this work for you?
i think it works, but does it do what you were looking for?
--get...
January 26, 2012 at 12:06 pm
aurato (1/26/2012)
Thanks, but how can I pick how far back that report goes? It's only showing since 8 AM this morning.
server wide, it's only the last 100 meg of...
January 26, 2012 at 7:58 am
DROP TABLE counts as a DDL function,and would be in the default trace, if it didn't get rolled over:
fastest way is the built in reports in SSMS:

January 26, 2012 at 7:51 am
Laura_SqlNovice (1/24/2012)
Wow Lowell... this is awesome... your comments on every line has made this code so clear. Thanks a bunch!
Laura I was feeling a little inspired when i fiddled with...
January 26, 2012 at 6:56 am
i thought TIFF was an image format, so it's not really pages...
if you had a 10 pages in that single image, do you want an image that is 8.5 inches...
January 25, 2012 at 1:33 pm
here's my two cents.
a linked server is just a connection to a licensed server.
no different from whether i connect via an application i create, or from a developer...
January 25, 2012 at 9:31 am
Gail will weigh in I'm sure, as she's had a lot more experience on this, but I'm very sure that unrepairable error. = restore from backup, as it cannot be...
January 25, 2012 at 7:09 am
Laura_SqlNovice (1/24/2012)
So Lowell I should make the user db_ddladmin and then create DDL triggers to stop users from altering, dropping objects?
well Laura i threw some time at this, as it...
January 24, 2012 at 8:06 pm
Laura this is a tough one;
SQL doesn't have granularity you are looking for;
it's pretty much grant ALTER on the schema, and that applies to all the DDL for all objects,...
January 24, 2012 at 3:21 pm
my examples of that would depeend on how much memory you had for plans to stay cached in memory, i think;
SELECT
fn.*,
st.*
FROM ...
January 24, 2012 at 1:58 pm
it depends on WHICH DMV also;
sys.dm_exec_connections are only valid while the spid is connected, i think;
sys.dm_db_index_usage_stats is good until a stop start,
but i think sys.dm_exec_query_plan would get cleared...
January 24, 2012 at 1:49 pm
Viewing 15 posts - 6,016 through 6,030 (of 13,468 total)