INFORMATION_SCHEMA.TRIGGERS ?????

  • I cannot find anything like it in SQL 2000. INFORMATION_SCHEMA.ROUTINES only shows me sp's and fn's. Can anyone shed some light?

  • I'm not sure I understand the question.  This comes from BOL, maybe it will help: 'Contains one row for each stored procedure and function accessible to the current user in the current database. '

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • but not Triggers

  • SQL Server 2000 does not include triggers in any of it's INFORMATION_SCHEMA's.  Try using the system tables:

    select * from sysobjects where type = 'TR'

    John Rowan

    ======================================================
    ======================================================
    Forum Etiquette: How to post data/code on a forum to get the best help[/url] - by Jeff Moden

  • awesome! Is there any way to view the definition of the trigger?

  • sp_helptext trigger_name_here

    go

     

  • thanks y'all..I can take it from here

Viewing 7 posts - 1 through 6 (of 6 total)

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