Code:
Msg 137, Level 15, State 2, Procedure spInsertChar, Line 23
Must declare the scalar variable "@cn".
Msg 137, Level 15, State 2, Line 5
Must declare the scalar variable "@szName".
Msg 137, Level 15, State 2, Line 7
Must declare the scalar variable "@nSex".
Msg 156, Level 15, State 1, Line 31
Incorrect syntax near the keyword 'ELSE'.
Msg 137, Level 15, State 2, Line 56
Must declare the scalar variable "@nCostume".
Msg 156, Level 15, State 1, Line 96
Incorrect syntax near the keyword 'ELSE'.
Msg 137, Level 15, State 2, Line 96
Must declare the scalar variable "@nCostume".
Msg 156, Level 15, State 1, Line 129
Incorrect syntax near the keyword 'ELSE'.
Msg 137, Level 15, State 2, Line 129
Must declare the scalar variable "@nCostume".
Msg 156, Level 15, State 1, Line 170
Incorrect syntax near the keyword 'ELSE'.
Msg 137, Level 15, State 2, Line 170
Must declare the scalar variable "@nCostume".
Msg 156, Level 15, State 1, Line 202
Incorrect syntax near the keyword 'ELSE'.
Msg 137, Level 15, State 2, Line 202
Must declare the scalar variable "@nCostume".
Msg 156, Level 15, State 1, Line 243
Incorrect syntax near the keyword 'ELSE'.
Msg 137, Level 15, State 2, Line 243
Must declare the scalar variable "@nCostume".
Msg 102, Level 15, State 1, Line 284
Incorrect syntax near 'END'.
Must I change to