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
What are tables and fields in the database?
What is record variable?
Is sql open source?
How do I run a sql trace?
i have some prob lem to tell me about my self in interview first round ...
Is sql pronounced sequel or sql?
Can one improve the performance of sql*loader? : aql loader
what is a composite key ? : Sql dba
How can you maintain the integrity of your database on instances where deleting an element in a table result in the deletion of the element(s) within another table?
Can a procedure in a package be overloaded?
What is the use of nvl function?
Write the order of precedence for validation of a column in a table? I. Done using database triggers. Ii. Done using integarity constraints
Can a view be mutating? If yes, then how?
Explain the the update statement in sql?
name 3 ways to get an accurate count of the number of records in a table? : Sql dba