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 are different functions in sql?
What are stored procedures used for?
Can I learn sql in a week?
Does pl/sql support create command?
What is self-join and what is the requirement of self-join?
Does truncate remove indexes?
What is compiled query?
what are date and time data types? : Sql dba
What are the two types of periodical indexes?
How subquery works in sql?
What is a natural join sql?
how to rename an existing column in a table? : Sql dba
Can we call dml statement in function?
what is a cursor? : Sql dba
Is inner join faster than left join?