1.declare语句必须用在begin end语句块中,并且必须出现在begin end语句块的最前面,即出现在其他语句之前
2.declare定义的变量的作用范围仅限于declare语句所在的begin end块内及嵌套在该块内的其他begin end块
3.存储过程中的变量名不区分大小写