Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


can i create trigger on synonym is it possible or not please help me

Answers were Sorted based on User's Feedback



can i create trigger on synonym is it possible or not please help me..

Answer / neelu

Yes.

create or replace trigger trg_test
before insert on emp
begin
null;
end;

create synonym trg_syn for trg_test;

Is This Answer Correct ?    6 Yes 4 No

can i create trigger on synonym is it possible or not please help me..

Answer / suman

Yes u can create trigger on synonym
below are example
select * from scott.emp;

select * from sy_emp;
create or replace synonym sy_emp for scott.emp;

/
create or replace trigger t_name
after insert on sy_emp
begin
null;
end;
/

Is This Answer Correct ?    2 Yes 0 No

can i create trigger on synonym is it possible or not please help me..

Answer / akhil

hi neelu.
question is "Can I trigger on synonym'
but you have answered for the question "Can I create synonym for trigger"(your answer is correct for this question)


my understanding about the real question is
we have create synonym for the table,then is it possible to create trigger on that synonym.

If my understanding is wrong,forgive me.

Is This Answer Correct ?    1 Yes 0 No

can i create trigger on synonym is it possible or not please help me..

Answer / shailesh

Yes, the trigger can be created on synonym. However, this trigger gets created on the respective base table for which the synonym is created.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

What are the two different parts of the pl/sql packages?

0 Answers  


what is a unique key ? : Sql dba

0 Answers  


Does sql require a server?

0 Answers  


Explain what is a column in a table?

0 Answers  


what is data integrity? : Sql dba

0 Answers  


What is the difference between database trigger and stored procedure?

0 Answers  


Are there any features that are decommissioned in 11g that are not present in 11g?

0 Answers  


How delete all records from table in sql?

0 Answers  


Which join is like inner join?

0 Answers  


Why is a trigger used?

0 Answers  


What is package in pl sql?

0 Answers  


How many rows can sqlite handle?

0 Answers  


Categories