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
What does the argument [or replace] do?
What is execute immediate?
Why left join is used in sql?
What is record type in pl sql?
what is a trigger in mysql? Define different types of trigger. : Sql dba
What is trigger price?
how to show all tables with 'mysql'? : Sql dba
Can we create view in stored procedure?
Can you do multiple joins in sql?
What is triggering circuit?
what is a table in a database ? : Sql dba
What is the most common sql injection tool?
What are the different types of sql commands?
Are subqueries faster than joins?
is mysql query is case sensitive? : Sql dba