Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Use of SP?
Hi!
In our system the user can work offline by synchorinzing the server database to a local Oracle Express (Oracle Express 10g on windows platform) database. I have one table (call it pricelist) that contains salesparts with pricing info. In the system a user can search for a salesparts number and based on several criterias the correct price should be fetched from the pricelist table.
I'm not a DBA but my thought for this was to create a stored procedure returning a ref cursor and send in the input parameters (like product number, customer number, quantity etc) and then basically execute queries in number order (I mean following the criterias above) and as soon as the query returns records I will exit the SP and return the recordset. Is this the way to go to tackle tasks like this or am I walking towards a dead end?
Regards
Hassi
Received on Mon Dec 17 2007 - 02:58:48 CST
![]() |
![]() |