synonim

All posts relating to Oracle database administration.

Moderator: Tim...

synonim

Postby krushna » Thu Apr 04, 2013 12:42 pm

how to create synonim in materialized view?
krushna
Member
 
Posts: 4
Joined: Thu Jan 31, 2013 3:19 am

Re: synonim

Postby Tim... » Thu Apr 04, 2013 1:45 pm

Hi.

Create a synonym "in" a materialized view? You can't.

If you meant create a synonym "on" a materialized view, then it is exactly the same as for a table for view.

Code: Select all
CREATE OR REPLACE SYNONYM emp_mv FOR scott.emp_mv;


Cheers

Tim...
Tim...
Oracle ACE Director
Oracle ACE of the Year 2006 - Oracle Magazine Editors Choice Awards
OakTable Member
OCP DBA 7.3, 8, 8i, 9i, 10g, 11g
OCP Advanced PL/SQL Developer
Oracle Database: SQL Certified Expert
My website: http://www.oracle-base.com
My blog: http://www.oracle-base.com/blog
Tim...
Site Admin
 
Posts: 17952
Joined: Mon Nov 01, 2004 5:56 pm
Location: England, UK


Return to Oracle Database Administration

Who is online

Users browsing this forum: No registered users and 2 guests