Materialized view [message #598850] |
Fri, 18 October 2013 06:19 |
|
daulat01
Messages: 62 Registered: May 2011 Location: Delhi
|
Member |
|
|
Hello,
When I try to drop the table it gives "ORA-12083: must use DROP MATERIALIZED VIEW ..." . When I try to drop the materialized view it gives
"ORA-12003: materialized view 'xxxx' does not exist". Could you please suggest what to do for this issue.
Database -Oracle10g
OS- SUSE Linux
Thanks,
[Updated on: Fri, 18 October 2013 06:29] Report message to a moderator
|
|
|
Re: Materialized view [message #598857 is a reply to message #598850] |
Fri, 18 October 2013 07:34 |
Lalit Kumar B
Messages: 3174 Registered: May 2013 Location: World Wide on the Web
|
Senior Member |
|
|
This is a wrong forum for your technical question.
Anyway, follow these steps and let me know the output-
1. Query dba_mviews to see if the MV exists? If no, then,
2. Recretae the MV.
3. Drop the MV.
4. Drop the table.
[update : I said about the wrong forum since it was earlier posted in suggestions and feedback, now I see it is moved to SQL & PL/SQL]
[Updated on: Fri, 18 October 2013 07:36] Report message to a moderator
|
|
|
|
Re: Materialized view [message #598958 is a reply to message #598871] |
Mon, 21 October 2013 00:07 |
|
daulat01
Messages: 62 Registered: May 2011 Location: Delhi
|
Member |
|
|
Hello,
It's not done via SQl*plus session also. Getting the same error.Plz find the screen shot as an attachement for the same.
SQL> /
DROP MATERIALIZED VIEW GPS_MM_LDC_FRAME.MV_HUN
*
ERROR at line 1:
ORA-12003: materialized view "GPS_MM_LDC_FRAME"."MV_HUN" does not exist
SQL> DROP TABLE GPS_MM_LDC_FRAME.MV_HUN;
DROP TABLE GPS_MM_LDC_FRAME.MV_HUN
*
ERROR at line 1:
ORA-12083: must use DROP MATERIALIZED VIEW to drop "GPS_MM_LDC_FRAME"."MV_HUN
SQL> DROP MATERIALIZED VIEW GPS_MM_LDC_FRAME.MV_HUN;
DROP MATERIALIZED VIEW GPS_MM_LDC_FRAME.MV_HUN
*
ERROR at line 1:
ORA-12003: materialized view "GPS_MM_LDC_FRAME"."MV_HUN" does not exist
SQL>
-
Attachment: MV error.JPG
(Size: 41.94KB, Downloaded 605 times)
[Updated on: Mon, 21 October 2013 00:09] Report message to a moderator
|
|
|
|
|
|
|
|
Re: Materialized view [message #599040 is a reply to message #598975] |
Mon, 21 October 2013 13:25 |
Lalit Kumar B
Messages: 3174 Registered: May 2013 Location: World Wide on the Web
|
Senior Member |
|
|
daulat01 wrote on Mon, 21 October 2013 14:19Yes I am already trying to do this isue by recreating MV but still getting error.
Did you follow the steps I suggested above? Please post the output of each step.
|
|
|