db2函数

DROP FUNCTION CHAR_ISO ( DATE) @

CREATE FUNCTION CHAR_ISO ( v_date DATE)
    RETURNS CHAR(10)
    LANGUAGE SQL
    CONTAINS SQL
    NO EXTERNAL ACTION
    DETERMINISTIC
    RETURN CHAR( v_date, ISO)@

编程技巧