DECLARE
关键字来声明变量。错误示例:
amount INTEGER := 100;
正确示例:
DECLARE amount INTEGER := 100;
错误示例:
DECLARE amount VARCHAR(50) := '100';
正确示例:
DECLARE amount INTEGER := 100;
错误示例:
DECLARE 1amount INTEGER := 100;
正确示例:
DECLARE amount INTEGER := 100;
错误示例:
DECLARE amount INTEGER;
SELECT amount;
正确示例:
DECLARE amount INTEGER := 100;
SELECT amount;
错误示例:
DECLARE amount INTEGER := 100
正确示例:
DECLARE amount INTEGER := 100;