SELECT INTO causes ORA-00905 Error [message #608435] |
Wed, 19 February 2014 11:57  |
 |
Uncle_Jake
Messages: 2 Registered: February 2014 Location: Home
|
Junior Member |
|
|
This statement returns data:
SELECT s.actual_enrollment --into attendance
FROM ODSMGR.MST_MEETING_TIME t, odsmgr.mst_course_offering s, saturn.slbrdef b
where t.course_reference_number = s.course_reference_number
and b.slbrdef_room_number = t.room
This statement returns the ol' ORA-00905 Error Missing Keyword. Why? The only difference between the two is commenting out the "into" clause. Why is this happening?
SELECT s.actual_enrollment into attendance
FROM ODSMGR.MST_MEETING_TIME t, odsmgr.mst_course_offering s, saturn.slbrdef b
where t.course_reference_number = s.course_reference_number
and b.slbrdef_room_number = t.room
|
|
|
|
|