DBAsupport.com Forums - Powered by vBulletin
Results 1 to 7 of 7

Thread: Error

Threaded View

  1. #1
    Join Date
    Aug 2007
    Location
    Cyberjaya,kuala lumpur
    Posts
    340

    Error

    when i am trying to run this, getting err......

    SQL> declare
    2 qtxt2 varchar2(4000) :='select owern,count(*) from bigtab group by owner';
    3 idno varchar2(30) :='id2';
    4 begin
    5 execute immediate 'truncate table rewrite_table';
    6 dbms_mview.explain_rewrite (
    7 query => qtxt2,
    8 mv => 'GOPU.MV_BIGTAB',
    9 statement_id => 'id2');
    10 end;
    11 /
    declare
    *
    ERROR at line 1:
    ORA-00904: : invalid identifier
    ORA-06512: at "SYS.DBMS_XRWMV", line 94
    ORA-06512: at "SYS.DBMS_SNAPSHOT", line 3210
    ORA-06512: at line 6
    Last edited by gopu_g; 04-03-2008 at 08:47 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width