This forum is currently locked. You can't register or post questions at this time. (read more)

synonim

All posts relating to Oracle database administration.

Moderator: Tim...

krushna
Member
Posts: 4
Joined: Thu Jan 31, 2013 3:19 am

synonim

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

how to create synonim in materialized view?

Tim...
Site Admin
Posts: 18437
Joined: Mon Nov 01, 2004 5:56 pm
Location: England, UK
Contact:

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


Return to “Oracle Database Administration”

Who is online

Users browsing this forum: No registered users and 5 guests

cron