Viewing 15 posts - 1,441 through 1,455 (of 13,447 total)
mw112009 (10/1/2015)
Can you help me with this then ?
I like to write a query where I pass a name of a table and column and then it will simply...
October 1, 2015 at 2:39 pm
where
(@VendorNumber is null or (hh.vndno = @VendorNumber))
and hh.chkdts = @CheckRunDate
and dd.DPSTF = 'N'
and hd.FILET = 'H'
and cd.EDI835Exclude = 0
and (@CompanyCode IS NULL OR ( cd.CMPCD = @CompanyCode))...
October 1, 2015 at 12:36 pm
as i remember it, oracle doesn't auto cast strings to date nicely the way SQL Server does. you have to use the TO_DATE(' '2015-09-30 13:13:09.73688','YYYY-MM-DD HH:MI:SS') i think would work.
October 1, 2015 at 9:31 am
jxj363 (9/29/2015)
September 30, 2015 at 6:21 am
DECLARE @ObjectName sysname = 'UsedInView'
SELECT
SCHEMA_NAME(so.SCHEMA_ID) AS SchemaName,
so.name AS ObjectName,
so.type_desc,
sed.referenced_server_name,
...
September 28, 2015 at 6:58 am
basically, yes. you might be able to create a procedure featuring execute as owner,a nd grant an end user permissions to that, but thye cannot run dbcc themselves.
here's an older...
September 28, 2015 at 5:27 am
savani.mahesh (9/28/2015)
Create SQL-CLR procedure.Encrypt your .net assembly.
Your procedure is sealed. No one can view contents of it.
actually, the dll is uploaded into the database, and can be extracted to disk,...
September 28, 2015 at 5:18 am
my quick proof of concept looks like it would work:
i just grabbed an Ms template, saved it, and started combing through the raw text.
September 25, 2015 at 12:16 pm
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
Viewing 15 posts - 1,441 through 1,455 (of 13,447 total)