ora-02063 [message #135938] |
Mon, 05 September 2005 00:33  |
rishi_mahajan
Messages: 9 Registered: August 2005
|
Junior Member |
|
|
i am exceuting a procedure which has a cursor in it... the cursor query is fetching data from a table in different db using DBlink
-----------------------------------------------------------
ORA-01722: invalid number ORA-02063: preceding line from RPS_RPSP_LINK
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: ora-02063 [message #274778 is a reply to message #274774] |
Wed, 17 October 2007 02:17   |
sachin_more
Messages: 2 Registered: October 2007 Location: Bangalore
|
Junior Member |
|
|
INSERT INTO TEST
(col1,
col2,
col3,
Col4,
col5,
col6,
Col7)
SELECT 'ABC' As col1,
'TEST' AS col2,
C.col3,
C.col4,
A.id,
A.Name,
MAX(A.GENERATION)
FROM LIST_ATTR_VALUE A,
LIST_ATTRIBUTE B,
PRODUCT_LIST C
WHERE A.id = C.id
AND B.id = C.id
AND B.ATTR_ID = A.ATTR_ID
AND C.id = C.id
AND C.CNTRY = 'ABC'
AND C.CATEGORY = 'ND'
AND A.NAME = 'CATEGORIE' AND A.INFO_ID IS NOT NULL
GROUP BY C.col3, C.col4, A.id, A.NAME;
I am trying insert rows in to my local table by fetching data from remote tables A,B C there synonyms created for these tables.
Hope this information is sufficient. Please send your inputs.
regards,
Sachin
|
|
|
|
Re: ora-02063 [message #274860 is a reply to message #274778] |
Wed, 17 October 2007 07:48  |
joy_division
Messages: 4963 Registered: February 2005 Location: East Coast USA
|
Senior Member |
|
|
And DESCribe all your tables while you are at it. 1722 may be happening as a side effect of the DB link, or maybe just because you are relying on implicit conversion (bad bad bad).
|
|
|