Answers were Sorted based on User's Feedback
Answer / vinay dixit
please find the advantages as given below :-
a) data security - no need to give permission on the table,
infact a view can be created, having only selected number
of coloums in its definition. So user will only be able to
see those coloums.
b) simplicity - a very complicated query can be saved as a
view defenition. when needed can be called by its view name.
c) removes dependency - Can be very helpful to remove the
dependecny from the underlying tables. Suppose a view is
created by joining several tables. After some time, there
are some changes on the tables, so only defenition of view
can be changed and there is no need to change all the code
where view is used.
d) No space - takes no space ( except materialized view )
|Is This Answer Correct ?||60 Yes||4 No|
Answer / anil_abbireddy
1. data security : complex view can not be modified ie.
base tables cannot be visible.
2. it provides easy way to query data from different data
sources like a single table
3.it is very usefull when developing complex reports basing
on multiple tables.
|Is This Answer Correct ?||38 Yes||4 No|
Answer / pnc
view is a logical presentation of one or more tables. It is
a virtual table. or A view is a data base object to register
the select statement permanently in the data base.
|Is This Answer Correct ?||17 Yes||6 No|
Answer / karunakarreddy.boyapally
1) it reduse the object size
2) hides the complexity of data
3) security purpose also
|Is This Answer Correct ?||12 Yes||3 No|
Answer / kapil syscom
View is simple structure as table in database, it dosen't take extra memory space, and reduces the structural complexity of database whenever we need to fetch the data from more than one table, thus it reduces the cost of joins every time.
Thus these is true that we have to use it for efficiency reasons..
|Is This Answer Correct ?||5 Yes||5 No|
What is the difference between the conventional and direct path loads? : aql loader
What SQL keyword must immediately follow the UNION ALL statement? 1. SELECT 2. INTO 3. ORDER 4. WHERE 5. JOIN
If 100 tables are there in user_tables.I want to find in which table zero records are there with table name.Is it possible?
What are different clauses used in sql?
What is meant by cursor in sql?
select 1,col1,col2 from table1. output?
What are different types of tables in sql?
Write a procedure to return the month and the number of developers joined in each month (cursor )
how many groups of data types? : Sql dba
Hi, Can anybody please explain me the flow of the below query. I am not able to understand how this query works. This query is for finding the Nth highest salary.. SELECT DISTINCT (a.sal) FROM EMP A WHERE &N = (SELECT COUNT (DISTINCT (b.sal)) FROM EMP B WHERE a.sal<=b.sal); If N = 2 then second highest salary will be the o/p. If N = 3 then third highest salary will be the o/p. and so on.. Thanks, Nitin
What is snowflake sql?
Hi all, i have a table as follows empid empname mgrid deptid 1 a 3 4 2 b 1 5 3 c 2 3 4 d 3 6 5 e 4 7 i want the output as empname mgrname a c b a c b d c e d