Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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?

Answers were Sorted based on User's Feedback



Suppose I have to create a view on a table, that is not yet been created by DBA. I khow the table s..

Answer / 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

Suppose I have to create a view on a table, that is not yet been created by DBA. I khow the table s..

Answer / anitha

It is true that the force option can be used to create the
view. But, this view will remain invalid even after the
creation the the Table. It needs to be recompiled again.

Is This Answer Correct ?    6 Yes 1 No

Suppose I have to create a view on a table, that is not yet been created by DBA. I khow the table s..

Answer / ram

i cannot create a view unless the DBA gives me create view system privilege and to create a view in any schema, rather than just your own we need the create view privilege and be granted the select,insert,update and delete objects on table underlying the view.
synonym is the alias to database object and to hide details of source of the database object. a public synonym is created by the DBA and is available for use by any database user. a private synonym is defined in the schema by the user and is available to the user.

Is This Answer Correct ?    3 Yes 3 No

Suppose I have to create a view on a table, that is not yet been created by DBA. I khow the table s..

Answer / neo

Synonym can be created on non-existing table without using
Force keyword. It automatically become valid once table is
created.

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More SQL PLSQL Interview Questions

What is difference between sql function and stored procedure?

0 Answers  


Which one is the Best approach to put code, among Triggers and Procedures? Explain?

1 Answers   Sierra Atlantica,


What is the sql case statement?

0 Answers  


What is the difference between subquery and correlated query?

0 Answers  


What is INSTEAD OF trigger ?

13 Answers   Hexaware, TCS,


how to enter numeric values as hex numbers? : Sql dba

0 Answers  


wtite down triggr not any entry on Sunday

2 Answers   NIT,


How do u count no of rows in a table?

8 Answers   CTS,


What are the conditions an underlying table must satisfy before a cursor can be used by a positioned update or delete statement? : Transact sql

0 Answers  


what are the differences between public, private, protected, static, transient, final and volatile? : Sql dba

0 Answers  


What is sql architecture?

0 Answers  


what are aggregate and scalar functions? : Sql dba

0 Answers  


Categories