Suppose I have to create a view on a table, that is not yet been
created by DBA. I khow the table structure. Is it possible to
create the view before DBA creates this table? If yes then how?
Is it possible to create synonym in this way?

Answer Posted / monika

Yes, we can create a view on a table that really doesn't
exist yet.We can do this by putting a word (Force) in
create view command-

create force view v1 as
select * from emp;

here view gets created but its staus is invalid,its become
valid when we create table emp(table on which view is
defined).

Is This Answer Correct ?    44 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are sql functions? Describe in brief different types of sql functions?

500


what is try_catch block in procedure

1199


Is there a pl/sql pragma similar to deterministic, but for the scope of one single sql select?

544


What do you mean by dbms? What are its different types?

559


how to fetch alternate records from a table? : Sql dba

615






What is a natural join sql?

519


Can we perform dml in function?

604


The in operator may be used if you know the exact value you want to return for at least one of the columns.

567


How much does sql certification cost?

558


Can triggers stop a dml statement from executing on a table?

630


Is sql a case sensitive language?

527


What is faster join or subquery?

524


What's the procedure?

502


How can we make an if statement within a select statement?

549


Is sql procedural language?

565