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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why partition by is used in sql?

548


How can a pl sql block be executed?

525


What is pessimistic concurrency control? : Transact sql

583


Explain autonomous transaction.

632


Define commit?

540






What is normalisation in sql?

543


What is trigger explain it?

544


What is the process of copying data from table a to table b?

590


What is the usage of nvl function?

594


What is the difference between the sql*loader and import utilities? : aql loader

593


What is difference between hql and native sql?

571


What is the difference between partitioning and sharding?

523


What is the starting oracle error number? What is meant by forward declaration in functions?

536


i have some prob lem to tell me about my self in interview first round ...

1695


How to set up sql*plus output format in oracle?

590