I'm getting this error message "ORA-01722: invalid number~Error in opening c_fetch_groups CURSOR" wh [message #94126] |
Thu, 18 March 2004 16:51 |
Mark Tecson
Messages: 3 Registered: March 2004
|
Junior Member |
|
|
I'm a newbie to this and been getting this error message ORA-"01722: invalid number~Error in opening c_fetch_groups CURSOR"
the embedded sql statement is this:
EXEC SQL DECLARE c_fetch_groups CURSOR FOR
SELECT ogu.change_cd,
ogu.create_datetime,
ogu.processed_flg,
ogu.group_no,
ogu.division,
NVL(g.group_name, LPAD(' ',25)),
NVL(g.division, LPAD(' ',25))
FROM od_groups_updates ogu,
groups g
WHERE ogu.group_no = g.group_no (+)
AND ogu.processed_flg = 'N'
AND ogu.create_datetime < TO_DATE(:ps_datetime_stamp, 'YYYYMMDDHH24:MI:SS')
ORDER BY ogu.group_no, ogu.create_datetime DESC;
|
|
|
|