結果 : sql declare variable in function