if i perform any operation on views such as insert, delete
etc will my base table get affected?????
Answers were Sorted based on User's Feedback
Answer / ramesh
yes if it is simple view. error if it is compunt view
| Is This Answer Correct ? | 8 Yes | 2 No |
Answer / gourvendra singh
It will affect ur base table only when u having a simple
view and if you put null in the field which is primary key
of the base table then also the base table will not
affected. And if you are using the compute view then u r nt
able to insert or delete the records.
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / slokh
yes if it is a simple view. may be if is a complex view -
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / radha sri seshu.kolla
yes it will effect if your view is a simple view (eg:
create or replace view empview as select * from emp;) this
is called simple view. if you use any joins or if u create
view using more than two tables then it is called complex
view. in case of comlex view the database will not effect.
| Is This Answer Correct ? | 0 Yes | 2 No |
What is the difference between inner join and outer join?
Does a join table need a primary key?
wht is the difference between sqlaserver2000 and 2005
What is the difference between jpql and sql?
Define implicit and explicit cursors.
What is user define exception and example
Lookups are a key component in sql server integration services (ssis). Explain its purpose?
full outer join syntax
What is field delimiter?
package specification-3 procedures package body-2 procedures will is execute
declare v_count number(8,3); v_sal scott.emp.sal%type := '&P_sal'; cursor cur_name is select sal from scott.emp where sal between (v_sal-100) and (v_sal +1000); begin v_count :=nvl(sql%rowcount ,0); if v_count = 0 then dbms_output.put_line('no records are fetch in the given sal range'); else dbms_output.put_line('There is/are '||to_char(v_count)|| ' salaries are selected in the given range '); end if; end; in the above programm .....for any sal range ....always it shows the following message.. no records are fetch in the given sal range please find the mistake and share with me...with thansk and regards..sarao....
What is database migration?
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)