Try:<br><FONT FACE=monospace>CREATE VIEW GRADE_DECODE AS<br>SELECT STUDENT,<br> DECODE ( GRADE,<br> 'A', 4.0,<br> 'A-', 3.67,<br> 'B+', 3.33,<br> 'B', 3.0,<br> 'B-', 2.67,<br> 'C+', 2.33,<br> 'C', 2.0,<br> 'C-', 1.67,<br> 'D', 1.33,<br> 'E', 1.0,<br> 'F', 0 )<br>FROM STUDENT_SCHEDULE;</font><br>You need commas after each parameter to decode, and all your decoded results should be of the same type (i.e. all numeric, or all varchar2).<br>Calling the view DECODE might cause problems too.