I have a registred table with coulmn acct_id_n as number data type in table
dm_dbo.v_fmtc_auth_usr_acct_cntnt
and I have custom object type and related column
f_sys_cntxt_id_n with varchar type.when I compare two columns in a DQL script it throws an error saying invalid number.
SELECT DISTINCT c.r_object_id,c.object_name FROM CWSStdRpt (all) c, dm_dbo.v_fmtc_auth_usr_acct_cntnt d WHERE UPPER(c.a_status) LIKE 'PUBLISH' AND ANY c.f_sys_cntxt_id_n = d.acct_id_n
Error occured during query execution :[DM_QUERY_E_CURSOR_ERROR]error: "A database error has occurred during the creation of a cursor ('ORA-01722: invalid number
')."
with out using the SUBSTR(d.acct_id_n) is there a way to execute the DQL query.