Job Seekers   Employers
dbapool: Authors | Submissions | Contact Us
   Forgot password? | Sign up
  Home   Discussion Forum   Articles   Interview Questions   FAQs   Scripts   Rewards   Analyzer   White Papers   Blog   Certification   Downloads   Tools
 

Topic: SQL*Plus and PL/SQL >> doubt in synonym

Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property. You may review the entire Oracle Certification Program Candidate Agreement online Here.



  


 Title: doubt in synonym
 lvr  Posted: May 30, 2008 02:22:27 AM

 Total Post: 12
 Joined: May, 2008






 
using synonym emp (base table employee) , i create trigger bef_emp_sy.

after creating trigger , i drop synonymn . now what is status of trigger (valid or invalid)..

it show valid in user_objects data dictionary.is it correct....





 Gitesh
Posted: May 30, 2008 06:54:23 AM  

 Total Post: 322
 Joined: May, 2005






 
Synonym is just like pointer only. Actually it hide the name and identity of Table segment.

When you are creating trigger using same synonym that time trigger point out the synonym but while you dropped synonym it automatically point out the table segment which is origin.

This scenario like when you rename table that time reference of new table automatically is taken effect by triggers.

Not to be surprise

 Time Zone: EDT

  




Forum Rules & Description


Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user




 








Get FREE Magazines

Top 10 Forum User

  Murtuja Khokhar857
  Mohammed Taj746
  positive fanatic483
  Jayanta Sur479
  Vigyan Kaushik386
  Gopu Gopi327
  Gitesh Trivedi322
  Vinoth Kumar264
  neeraj sharma258
  Ramesh Jois246






oracle Mag



  About Us Advertise Terms of Use Privacy Newsletters Contact Us    

Home   Discussion Forum   FAQs  Articles  Jobs   Newsletters  Directory  Downloads 

Our Premium Sponsor
Confio Software