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

what are the t string functions available in tsql? : Transact sql

735


Which column in the user.triggers data dictionary view shows that the trigger is a pl/sql trigger?

790


What problem one might face while writing log information to a data-base table in pl/sql?

761


How do I find duplicates in two columns?

743


what are the 'mysql' command line options? : Sql dba

743






how would you get the current date in mysql? : Sql dba

724


Is pl sql and postgresql same?

767


What is a full join sql?

785


What is sql scripting?

753


How does postgresql compare to mysql?

761


What is set transaction?

765


What's the difference between inner join and left join?

725


What is crud stand for?

746


how to drop an existing view in mysql? : Sql dba

792


Is t sql a programming language?

761