1.声明变量
2.赋值语句
set @F001 = space( 40)
DECLARE
@F001
SMALLINT,
@F002 INTEGER,0)"> @F003 VARCHAR( 20),
@F004 CHAR( @F002 MONEY
@F002 INTEGER,0)"> @F003 VARCHAR( 20),
@F004 CHAR( @F002 MONEY
2.赋值语句
set @F001 = space( 40)
3.条件判断(IF...ELSE)
If condition Begin
[ statements ]
END
ELSE BEGIN
elseifstatements END