Forum Replies Created

Viewing 15 posts - 8,776 through 8,790 (of 13,461 total)

  • RE: LEFT OUTER JOIN IN TEMPORARY TABLE

    data format nazi


    no solution for you!

    i guess i'm feeling generous;

    I didn't even bother looking at the request, as the lack of consumable data was as far as i cared to...

  • RE: Trigger

    syntax...you can fix that....the original trigger i wrote was tested, so it's gotta be a modification.

    note i did test on a 2008 server...there may be a difference if this is...

  • RE: Trigger

    Tara-1044200 (9/10/2010)


    great thank a lot Lowell.

    finally can i use triiger for prohibintg INSERT,UPDATE and DELETE also ?

    not a server wide trigger No.

    triggers for ALL SERVER can only track LOGON...

  • RE: Trigger

    Tara-1044200 (9/10/2010)


    I am sorry if i have confused you.

    from the above script does it mean that users listed in NOT IN cluse can drop the tables.

    Actually my goal is to...

  • RE: Trigger

    Tara-1044200 (9/10/2010)


    Looks like this trigger prohibits dropping all tables and all users and it is raising error only for the given users.

    I want to prohibit everyone except User1 and User2...

  • RE: Condition addition of a trigger to a database?

    because of the error "A triggermust be the first command in a batch"

    you have to use dynamic SQL after the IF EXISTS test.

    that goes the same for procedure/ function/ view...

  • RE: Trigger

    Tara-1044200 (9/10/2010)


    actually i want to handle this in reverse like say i want to restrict access to eevry one except one win group, how do i filter that group or...

  • RE: Trigger

    Tara-1044200 (9/10/2010)


    Lowell

    This looks exciting to me and would like to try but few questions..

    1. Yes i have 3 tables only across all servers

    2. i have 2 win groups to restrict...

  • RE: Trigger

    Tara i saw the other thread , and yes it's possible, but you need to decide on some way to identify the table...specific name, maybe from a table in master,...

  • RE: DENY DROP TO DB_DDLADMIN

    Tara i saw the other thread , and yes it's possible, but you need to decide on some way to identify the table...specific name, maybe from a table in master,...

  • RE: Oracle Wrap like utility in MS-SQL

    yes that was exactly what i was trying to show you; i just included the whole code so you could see how to obfuscate a specific script;

    you can see that...

  • RE: after insert trigger

    lets try something different...show us what you think the INSERT INTO statement would look like;

    your requirement changed form updating colA and colB to something different....all the clues for your trigger...

  • RE: after insert trigger

    igngua (9/9/2010)


    if i do an instead of trigger that would delete the original record. I dont want the original record to be deleted. I want a new record that takes...

  • RE: after insert trigger

    if the three columns make the row unique, why are you changing one of the values? a trigger like that should change columns other than those comrising the primary key.

    if...

  • RE: after insert trigger

    update dbo.eicanalesres

    SET idcontrato = '13'

    FROM INSERTED

    WHERE dbo.eicanalesres.IdContrato = INSERTED.IdContrato

    AND dbo.eicanalesres.EiCanalId = INSERTED.EiCanalId

    AND dbo.eicanalesres.EiFechServ = INSERTED.EiFechServ

    AND inserted.idcontrato = '02'

    AND inserted.EiCanalId = '91'

    and inserted.eifechserv = eicanalesres.eifechserv

    you missed the core of...

Viewing 15 posts - 8,776 through 8,790 (of 13,461 total)