Discover DB2 procedure default parameters using SYSCAT tables
问题 Like Oracle, DB2 supports parameter defaults in stored procedures. Oracle syntax: CREATE OR REPLACE PROCEDURE p_default ( p_in_number IN number := 0, p_out_number OUT number, p_in_varchar IN varchar2 := '0', p_out_varchar OUT varchar2, p_in_date IN date := date '1981-07-10', p_out_date OUT date ) DB2 syntax: CREATE PROCEDURE p_default ( IN p_in_number INTEGER DEFAULT(0), OUT p_out_number INTEGER, IN p_in_varchar VARCHAR(10) DEFAULT('0'), OUT p_out_varchar VARCHAR(10), IN p_in_date DATE