If a View on a single base table is manipulated will the
changes be reflected on the base table?
Answers were Sorted based on User's Feedback
Answer / ehsraka
Yes, definitely. Since the view is based on a single table
and falls within the cateogory of simple view. Any change /
modification on the records will be reflected in the base
table.
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / aks
Depends on privileges granted to view (select,insert,update);
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / naresh
Hi
Not only on a single based table, changes made on a view
which created on multiple tables also will update on base
tables,if the relation ship between primary key and Foreign
key relationships are proper and if the Integrity
constraints are mentioned.
Cheers!
Naresh
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / papal
yes if there is no use of "CHECK WITH option"
then definitally chnages in view affects the base table
| Is This Answer Correct ? | 3 Yes | 1 No |
What is the difference between SQL Constraint and PL/SQL constraint.Pls give all the constraint name.
How does cross join work in sql?
what is the stuff function and how does it differ from the replace function? : Sql dba
If an unique key constraint on DATE column is created, will it validate the rows that are inserted with SYSDATE?
IN A TABLE HAVE ONE COLUMN PRIMARY KEY..IT WILL NOT ALLOWS NULL VALUES AND DUPLICATE VALUES..INSTEAD OF PRIMARY KEY WHY CANT WE USE UNIQUE AND NOT NULL.THESE TWO ALSO DOESNT ACCEPT NULL VALUES IN NOT NULL AND UNIQUE DOESNT ACCEPT DUPLICATE VALUES? SO WHAT IS THE DIFEERENCE BETWEEN(UNIQUE,NOT NULL) AND PRIMARY KEY??????
What are the Diff B/W Cursor and REF Cursor
Hi All, I am new to both this blog and technology. I was able to see a response for one of the questions on triggers as below. I would like to know why are we using " if rtrim(to_char(sysdate,'day'))=rtrim('sunday') then" instead, can't we use " if sysdate = 'sunday' then". I can understand the use of "rtrim", but dont know y v r using to_char. I have seen this in many cases but did not get a convincible explaination. Please help me with this and do excuse if this question sounds silly. Thanks in advance...... create or replace trigger trg_sun before insert on <table name> begin if rtrim(to_char(sysdate,'day'))=rtrim('sunday') then raise_application_error(-20345,'no transaction in sunday'); end if; end trg_sun;
What is mutating table error?
Can you skip header records while loading? : aql loader
What found sql?
What is the primary key?
Define join and name different types of joins?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)