DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: Namespaces for triggers

  1. #1
    Join Date
    Sep 2001
    Posts
    44

    Smile

    hi all,

    why is that namespaces for triggers is different from that of tables,packages and sub programs.
    By namespaces I mean unique names. I cannot have a stored procedures name same as that of a table but it can be the same as that of a trigger. why is that?

    Thanks in adv.

  2. #2
    Join Date
    Sep 2001
    Location
    NJ, USA
    Posts
    1,287
    Because Oracle always knows :
    -- this is a name of procedure or package - u have to invoke it in ur code (sql,pl/sql).
    -- and this is a trigger - oracle has to invoke it internally when some event occure.

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