· 编写规范
A:注释
单行注释
select *from emp where no = xxx ; --取得员工信息
多行注释
/*…………*/
B:标识符号的命名规范
1):当定义变量时,建议用 v_作为前缀 v_sal
2):当定义常量时,建议用 c_作为前缀 c_rt
2):当定义游标时,建议用 _cursor作为后缀 em_cursor
2):当定义例外时,建议用 e_作为前缀 e_error
· 编写规范
A:注释
单行注释
select *from emp where no = xxx ; --取得员工信息
多行注释
/*…………*/
B:标识符号的命名规范
1):当定义变量时,建议用 v_作为前缀 v_sal
2):当定义常量时,建议用 c_作为前缀 c_rt
2):当定义游标时,建议用 _cursor作为后缀 em_cursor
2):当定义例外时,建议用 e_作为前缀 e_error