wt is view ? wht r the restrictions for view ?

Answers were Sorted based on User's Feedback



wt is view ? wht r the restrictions for view ?..

Answer / ratheesh nellikkal

A view we can treat it as a virtual table.
It doesn't have any physical existance.

A View can be created entirely from a single table or from
a number of tables with appropriate joins.

The mail Restriction in a view is that if a view made up of
more than one table then it can not update it.
(Obviously if the base table is not exists the db2 will
trow an error and u can not create the view)

Is This Answer Correct ?    9 Yes 0 No

wt is view ? wht r the restrictions for view ?..

Answer / rajesh

View is just a display of a DB2 table where the access to
that view can be controlled.

Restriction : In order to create a view a base table should
exist.

Is This Answer Correct ?    2 Yes 1 No

wt is view ? wht r the restrictions for view ?..

Answer / anjireddy vintha

view is a logical object which is derived from parent
table. view will be deleted automatically when patent table
is deleted.

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More DB2 Interview Questions

What happens in bind step in a db2 program?

0 Answers  


What is a Foreign Key?

0 Answers   Tavant Technologies, Zensar,


What is catalog database in db2?

0 Answers  


What is access path in db2?

0 Answers  


Q1. How will you use two different DB2 qualifiers in a single COBOL program? Suppose we have 2 tables EMP1 and EMP2 with same structure defined in two different DB2 qualifiers QUAL1.EMP1 and QUAL2.EMP2 now during first 15 days we want to use QUAL1.EMP1 and rest of the days QUAL2.EMP2  how will we do this.  We can create a single program and a single load for this program. 

2 Answers   RBS,






On the create tablespace, what does the CLOSE parameter do?

1 Answers  


What is a synonym? How is it used?

2 Answers  


how to u check the query is executing or not ?where will u check for sqlcode ?

6 Answers   Infosys,


is it possible to get -811 error when you use cursors. why?

2 Answers   IBM,


What is the SQL Communications Area and what are some of its key fields?

1 Answers  


is it compulsory commitment control in journal?

0 Answers   TCS,


what happend with out using Commit,when closing cursor and program?

5 Answers   CSC,


Categories