User Profile

Collapse

Profile Sidebar

Collapse
orausrture
orausrture
Last Activity: Aug 27 '07, 06:06 PM
Joined: Aug 14 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • orausrture
    started a topic converting Oracle PL/SQL function to DB2 v9
    in DB2

    converting Oracle PL/SQL function to DB2 v9

    I am a newbie and really needs some assistance. I have struggled with this code. Any assistantance will be very appreciated. The code is below....

    CREATE FUNCTION increment_seria l_1 (p_serial_num VARCHAR(4000) )
    RETURNS VARCHAR(4000)
    LANGUAGE SQL

    BEGIN ATOMIC

    DECLARE l_pattern VARCHAR(30) DEFAULT '[A-Z]';

    --| l_components OWA_TEXT.VC_ARR ;

    --* [200042]"C:\MTK\project s\Unknown1\incr ementnm.src"(29 :16)-(29:30)Unrecogn ized...
    See more | Go to post

  • orausrture
    started a topic Conversion of Oracle 9i to DB2 V9
    in DB2

    Conversion of Oracle 9i to DB2 V9

    Can someone help me convert this from Oracle PL/SQL to DB2 PL UDF? If I can see this example maybe will help me with the others. Thanks in advance.

    CREATE OR REPLACE FUNCTION "GETCRITERIALIS T" (
    I_child_care_ra te_id IN CHILD_CARE_RATE .ID%TYPE )
    RETURN VARCHAR2 IS

    CURSOR C_spec_crit_cod e IS
    SELECT (DECODE(ROWNUM, 1, '', ', ') || cd.short_decode _name) short_decode_na me...
    See more | Go to post
No activity results to display
Show More
Working...