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;
亿速云「云服务器」,即开即用、新一代英特尔至强铂金CPU、三副本存储NVMe SSD云盘,价格低至29元/月。点击查看>>
推荐阅读:c#定义变量常见错误