Hi,
I'm trying to export a subset of data using a date field
using this:
exp user/pass file=flename.dmp log=filename.log tables=MY_TABLE query=\"where as_of_dt='08-31-2007'\"
and this is the error it gave me:
EXP-00056: ORACLE error 932 encountered
ORA-00932: inconsistent datatypes
Export terminated successfully with warnings.
I was using the to_date function but it gave me errors also using the following syntax:
query=\"where as_of_dt=to_date('08-31-2007','mm\dd\yyyy')\"
error: invalid character '('
Any suggestions?
Thanks in advanced
I'm trying to export a subset of data using a date field
using this:
exp user/pass file=flename.dmp log=filename.log tables=MY_TABLE query=\"where as_of_dt='08-31-2007'\"
and this is the error it gave me:
EXP-00056: ORACLE error 932 encountered
ORA-00932: inconsistent datatypes
Export terminated successfully with warnings.
I was using the to_date function but it gave me errors also using the following syntax:
query=\"where as_of_dt=to_date('08-31-2007','mm\dd\yyyy')\"
error: invalid character '('
Any suggestions?
Thanks in advanced