Hello,
I'm having a bit of difficulty placing this query within my java. it works perfectly in sqlplus. Any help/advice would be greatly appreciated. Thanks in advance!
sqlplus:
java:
I'm having a bit of difficulty placing this query within my java. it works perfectly in sqlplus. Any help/advice would be greatly appreciated. Thanks in advance!
sqlplus:
Code:
SELECT student_course_subject(sfrstcr_term_code,sfrstcr_crn)||'-'|| student_course_number(sfrstcr_term_code,sfrstcr_crn)||'-'|| student_course_section(sfrstcr_term_code,sfrstcr_crn) "Class", student_course_title(sfrstcr_term_code,sfrstcr_crn) "Title", student_ssrmeet_days(sfrstcr_term_code,sfrstcr_crn) "Schedule" FROM sfrstcr s WHERE s.sfrstcr_term_code=1999 AND s.sfrstcr_pidm=22;
java:
Code:
private static final String selectCourseList = "SELECT student_course_subject(sfrstcr_term_code,sfrstcr_crn)||'-'|| " +
"student_course_number(sfrstcr_term_code,sfrstcr_crn)||'-'|| " +
"student_course_section(sfrstcr_term_code,sfrstcr_crn) \"Class\", " +
"student_course_title(sfrstcr_term_code,sfrstcr_crn) \"Title\", " +
"student_ssrmeet_days(sfrstcr_term_code,sfrstcr_crn) \"Schedule\" " +
"FROM sfrstcr s " +
"WHERE s.sfrstcr_term_code=1999 AND s.sfrstcr_pidm=22;";