Viewing 15 posts - 1,471 through 1,485 (of 13,460 total)
fabio.lopes (9/25/2015)
I did "GRANT INSERT on MyauditTable to PUBLIC", but did not work.
"did not work" doesn't provide enough info.
it depends on what your trigger is doing. if it is doing...
Lowell
September 25, 2015 at 11:50 am
i believe the function ORIGINAL_LOGIN() will return the caller, regardless of execute as.
Lowell
September 25, 2015 at 11:49 am
if your DDL trigger is writing to a table, you want to either have the trigger EXECUTE AS OWNER, or maybe GRANT INSERT ON MyAuditTable TO PUBLIC, so that no...
Lowell
September 25, 2015 at 10:04 am
Solomon what about the other direction for a CLR?
if i pulled data into a Datatable and want to send them to disk, how would you do it?
I've done...
Lowell
September 25, 2015 at 9:17 am
when you go outside of a SQL database, SQL uses an account that you would not intuitively expect it to use . even if you are sysadmin +domain admin for...
Lowell
September 25, 2015 at 6:21 am
smitty-1088185 (9/25/2015)
I don't mean 'view def' permissions, I mean the...
Lowell
September 25, 2015 at 6:06 am
there was a recent article that demonstrated how to run all *.sql files in a given folder.
that means the scripts contain commands that already have to have the parameters to...
Lowell
September 25, 2015 at 5:57 am
maybe join only on names,and filter for where the ENum <> Anum?
SELECT distinct T1.[last name],t1.[first name],ENum,t2.Anum,T2.lname ,t2.Fname,
FROM ECLINICIAN_Info T1
LEFT JOIN ACLINICIAN_Info T2
ON t1.[last name] = t2.lname
and t1.[first name]...
Lowell
September 24, 2015 at 10:52 am
well if it doesn't exist, then you'd be adding a column of all null values right?
you can join the two tables together instead of an exists, but that finds things...
Lowell
September 24, 2015 at 10:41 am
and here's a basic example for the command line:
sqlcmd -S . -d master -E -Q "exec sp_who"
Lowell
September 24, 2015 at 10:34 am
sqlcmd or bcp are the two command line options.
bcp is designed for importing or exporting data, whereas sqlcmd can do both, but also execute commands;
i've used use sqlcmd to...
Lowell
September 24, 2015 at 6:56 am
I've got a script i call missing and implied foreign keys that i built over the years.
it's basically a peel the onion kind of attack, which kind of assumes some...
Lowell
September 23, 2015 at 5:38 am
because you said intellectual property, i'm thinking that your database is given to your clients, and a different DBA than yourself administers that database. if you control the db, you'd...
Lowell
September 22, 2015 at 1:58 pm
--whopps removing and moving to other post.
Lowell
September 22, 2015 at 1:57 pm
Laptop...Thumbdrive...Golf Cart...32bit...workaround...Free..."connections are only open for a second or two to retrieve a row or write a row"
a few of the keywords i'm picking up here directly telling towards the...
Lowell
September 22, 2015 at 1:41 pm
Viewing 15 posts - 1,471 through 1,485 (of 13,460 total)