CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Trigger Tables

  1. #1
    Join Date
    Jul 2004
    Location
    Chennai, India
    Posts
    1,064

    Trigger Tables

    Where can I find the informations about the Trigger tables Inserted, Updated and Deleted? They are not available in sysobjects. Are they created and deleted after trigger is fired?
    Madhivanan

    Failing to plan is Planning to fail

  2. #2
    Join Date
    Nov 2004
    Location
    Poland
    Posts
    1,355

    Re: Trigger Tables

    Where can I find the informations about the Trigger tables Inserted, Updated and Deleted?
    There are only aliases for recordsets created in memory. They are only available inside trigger and are logically a part of table on which trigger is created (the same schema - but rows filled with deleted inserted etc).

    And what is "Updated" table ? I don't know !


    Best regards,
    Krzemo.

  3. #3
    Join Date
    Jan 2003
    Location
    North Carolina
    Posts
    309

    Re: Trigger Tables

    Updated deosn't exist.

    Updates use both the inserted and deleted names inserted is the entire row as it will look after the update completes. deleted is the snapshot of before.

  4. #4
    Join Date
    Nov 2004
    Location
    Poland
    Posts
    1,355

    Re: Trigger Tables

    Updated deosn't exist
    Didn't I wrote it on my post?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured