Viewing 15 posts - 1,471 through 1,485 (of 13,469 total)
not sure if this would work in your situation, but what about putting placeholders in an existing doc as a template, then saving it as rtf?
store it as a varchar(max),...
September 25, 2015 at 12:07 pm
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...
September 25, 2015 at 11:50 am
i believe the function ORIGINAL_LOGIN() will return the caller, regardless of execute as.
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...
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...
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...
September 25, 2015 at 6:21 am
smitty-1088185 (9/25/2015)
I don't mean 'view def' permissions, I mean the...
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...
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]...
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...
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"
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...
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...
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...
September 22, 2015 at 1:58 pm
--whopps removing and moving to other post.
September 22, 2015 at 1:57 pm
Viewing 15 posts - 1,471 through 1,485 (of 13,469 total)