on 01-10-2014 7:43 AM
Hi,
PFA oracle query which i insert into crystal report xi version it give me error like Ora-00904 ITEM.PAYOR_ACCOUNT_NBR invalid identifier but same query is run on oracle client and ITEM.PAYOR_ACCOUNT_NBR this column is in database with same name but it give error in crystal report pls tell me what are the modification should do in query which crystal report will accept
Kind Regards,
Ganesh
Hi Ganesh,
What Oracle client are you using in CR connection?
Try one of the other ones:
Oracle Server in the DB Connection wizard ( native Oracle CR driver )
Oracles ODBC driver
Oracle OLE DB Provider
Or the Data Direct Oracle Clients.
Do not use Microsoft's Oracle driver, it only supports Oracle 7
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ganesh,
1) Try adding a table alias for each of your inline views and also use that alias for referencing the columns.
2) Try running each of your inline views separately to find out which one is causing the issue.
3) Upgrade CR XI to CR XI R2 SP6.
4) Make sure you're using the right database driver.
-Abhilash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abhilash,
Yes i try the running the inline views separately but there is problem in
item2
WHERE item2.item_inward_status_code = item1.item_inward_status_code
--{?WHERE_CLAUSE}
GROUP BY item1.session_nbr, item1.business_date, item1.p_final_dest_routing_nbr, item1.transaction_code, item1.p_init_orig_routing_nbr,
item1.serial_nbr, item1.sequence_nbr, item1.payor_account_nbr, item1.amount, item1.p_business_date, item1.p_cycle_nbr, item1.clearing_type_code
,item1.currency_code
ORDER BY p_final_dest_routing_nbr, serial_nbr, transaction_code
this part of query this is the last part of query the above 3 parts are successfully show the result
but this last part give the error like sql command not properly ended
From a SQL perspective there doesn't seem to be any issue. Can you remove all references to this column from the query and post the result that is observed from CR XI designer.
btw: what is the CR version, can you upgrade to CR XI Release 2 highest patch level.
-Prathamesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
9 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.