-
insteadof Trigger for Complex views
hi,
i have created a complex view where thru this view i want to insert the row into 2 tables.
CREATE VIEW v1
AS
SELECT empno,ename,dname FROM emp e,dept d WHERE e.deptno=d.deptno;
BY USING THIS COMPLEX VIEW, I WANT TO INSERT A ROW INTO 2 TABLES.
PLZ HELP ME HOW TO CREATE INSTEADOF TRIGGER FOR THIS COMPLEX VIEW.
THANX IN ADVANCE.
-
Pablo (Paul) Berzukov
Author of Understanding Database Administration available at amazon and other bookstores.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|