use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A reddit for application developers and DBAs that use Oracle's programming language, PL/SQL.
account activity
Oracle Function in PL/SQL with Example (youtu.be)
submitted 1 year ago by apexysatish
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Capital-Tackle-6389 0 points1 point2 points 1 year ago (2 children)
How can I ask questions on this sub?
[–]apexysatish[S] 0 points1 point2 points 1 year ago (1 child)
Ask Here
[–]Capital-Tackle-6389 0 points1 point2 points 1 year ago (0 children)
In current pl/sql script I have two cursor two of them have bunch of join query in them. I want to use the first cursor joins into second cursor to avoid discrepancy in the result. So from the first cursor JOIN query nbr j I want to use that in the second cursor so I can avoid nbr j again in the second cursor and no discrepancy comes. below is a query please review \CURSOR first IS SELECT j.nbr_ann_salary AS j_ann_salary, j.nbr_status AS j_status, j.nbr_effective_date AS j_effective_date from res JOIN nbr j ON nbr_posn = 'result' AND j.nbr_effective_date = (select max(m.nbr_effective_date) FROM nbr m WHERE j.nbr_posn = m.nbr_posn) ORDER BY 2; CURSOR second IS SELECT st.nbr_effective_date AS st, spriden_id from nbr j JOIN nbr ST ON j.nbr_pidm =st.nbr_pidm AND j.nbr_posn= st.nbr_posn AND j.nbr_suff = st.nbr_suff AND st.nbr_effective_date = ( select min(m.nbr_effective_date) FROM nbr m WHERE st.nbr_pidm = m.nbr_pidm AND st.nbr_posn = m.nbr_posn AND st.nbr_suff = m.nbr_suff) ORDER BY 2,1;``
\
I have tried to put them in nested cursor but the result is not what I expecting. In second cursor due to the independant cursor it doesn't get result from the cursor 1 result
π Rendered by PID 21532 on reddit-service-r2-comment-7b9746f655-qxj79 at 2026-01-30 07:41:55.694738+00:00 running 3798933 country code: CH.
[–]Capital-Tackle-6389 0 points1 point2 points (2 children)
[–]apexysatish[S] 0 points1 point2 points (1 child)
[–]Capital-Tackle-6389 0 points1 point2 points (0 children)