|
|||
Return oracle function value to coldfusion
How to return value from Oracle function to coldfusion?.
Below is oracle function: e.g: pm_outlet_id=210 (number) pm_part_no=15601-87Z01-000 (varchar) --------------------------- Function Get_Price (pm_outlet_id IN Number,pm_part_no IN Varchar2) Return Number Is v_price Number(10,2); Begin BEGIN Select nvl(unit_list_price,0) Into v_price From Pos_Price_Lists_Ext_V price, Pos_Customers_V cust, Wcs_Outlet_Master_Test dlr Where cust.customer_number = dlr.outlet_code And price.price_list_name = cust.pos_price_list And price.org_id=13 And price.part_no = pm_part_no And dlr.outlet_id = pm_outlet_id And trunc(price.start_date) <= trunc(sysdate) And (trunc(end_date) >= trunc(sysdate) or end_date is null); Exception When No_Data_Found Then v_price :=0; End; Return(v_price); End; ---------------------------- Oracle function will passed 8.9 as answer. The problem is how coldfusion can read value 8.9 from oracle function as output. What coding can use??. If anybody know..pls help me...I'have tried using cf tag cfstoredproc but still have error... |
|
|||
![]() |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| return value from oracle.. | shakker | Website Programming | 0 | 23-08-2004 09:38 AM |
| oracle client problem... | Bandit | Website Programming | 2 | 11-07-2003 12:36 PM |
| oracle express administrator | aarkus | Website Programming | 0 | 19-06-2003 09:37 AM |
| Oracle 9i Report Distribute | kdiamond | Website Programming | 0 | 13-05-2003 03:19 PM |
All times are GMT +8. The time now is 10:31 AM.
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0 vBulletin skin by ForumMonkeys.com.
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0 vBulletin skin by ForumMonkeys.com.











Linear Mode

