関数特性
言語: PLPGSQL
戻り値: integer
declare p_tab_id alias for $1; p_new_set_id alias for $2; begin -- ---- -- 中枢構成のロックを取得 -- ---- lock table sl_config_lock; -- ---- -- 新規セットにテーブルを移動 -- ---- update sl_table set tab_set = p_new_set_id where tab_id = p_tab_id; return p_tab_id; end;