Need Help with a Question

  • Does anyone know,

    What are the system tables accessible from DML triggers? Describe them?

  • What did google turn up?

    This sounds like an interview / exam question.

    What did your research find out, where are you getting stuck and where do you need o go with this?

  • I can't anything on google about this.

  • I did went to this link but I doesnot tell the system tables accessible for DML trigger. does it ? if it is then where

  • All the system tables are visible from triggers. And everywhere else.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • All of them... http://technet.microsoft.com/en-us/library/ms179932.aspx

    Are you reffering to the inserted and deleted tables only available in the triggers?

  • I am referring to system tables accessible from DML triggers. please name them.

  • suhailtajraja (8/9/2011)


    I am referring to system tables accessible from DML triggers. please name them.

    ALL OF THEM.

    Check the link I posted, they are all listed there.

    You might get more usefull help by describing the task you need to complete.

  • suhailtajraja (8/9/2011)


    I am referring to system tables accessible from DML triggers. please name them.

    All of the system tables (well, they're system views these days) are visible from everywhere, ad-hoc queries, procedures, functions and triggers,

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Ninja's_RGR'us (8/9/2011)


    You might get more usefull help by describing the task you need to complete.

    Homework, exam or interview.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Ninja's_RGR'us (8/9/2011)


    What did google turn up?

    This sounds like an interview / exam question.

    What did your research find out, where are you getting stuck and where do you need o go with this?

    😀

  • suhailtajraja (8/9/2011)


    I am referring to system tables accessible from DML triggers. please name them.

    SELECT * FROM sys.objects WHERE type='S'

    Execute this on a any database you are reffering to gives the list of system tables.

    [font="Tahoma"]
    --SQLFRNDZ[/url]
    [/font]

  • interview

  • @SQLFRNDZ (8/9/2011)


    suhailtajraja (8/9/2011)


    I am referring to system tables accessible from DML triggers. please name them.

    SELECT * FROM sys.objects WHERE type='S'

    Execute this on a any database you are reffering to gives the list of system tables.

    However those are not visible from anywhere,

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 15 posts - 1 through 15 (of 23 total)

You must be logged in to reply to this topic. Login to reply