> select
> DBMS_METADATA.GET_DDL(object_type=>'VIEW', name=>'MQOT_V')
> from dual;
> DBMS_METADATA.GET_DDL(object_type=>'VIEW', name=>'MQOT_V')
> *
> ERROR at line 2:
> ORA-00907: missing right parenthesis
but:
> select
> DBMS_METADATA.GET_DDL('VIEW', 'MQOT_V') from dual;
>
> DBMS_METADATA.GET_DDL('VIEW','MQOT_V')
> --------------------------------------
>
> CREATE OR REPLACE VIEW [...]
Can someone help me please ?
Thks.
Spendius
So, you have to use the 2nd method of calling functions in SQL.
Anurag