glenlove2002
Programmer
Hi,
I'm trying to run an outer join, and while the SQL query works outside VB 2005, when used in VB 2005 it's a completely different story. It's really frustrating - it's like Microsoft has decided that they want people to write SQL queries in a different way that normal. Here's the query.
sqlString = "SELECT C.Course_code, C.Course_title, COUNT(C.Course_code) AS Attendees " & _
"FROM COURSEOFFERING O, COURSE C, STUDENT_COURSEOFFERING S " & _
"WHERE O.Course_code(+) = C.Course_code " & _
"AND O.Offering_id = S.Offering_id " & _
"GROUP BY C.Course_code, C.Course_title"
VB 2005 keeps complaining about a missing extra "(". Why???
I'm trying to run an outer join, and while the SQL query works outside VB 2005, when used in VB 2005 it's a completely different story. It's really frustrating - it's like Microsoft has decided that they want people to write SQL queries in a different way that normal. Here's the query.
sqlString = "SELECT C.Course_code, C.Course_title, COUNT(C.Course_code) AS Attendees " & _
"FROM COURSEOFFERING O, COURSE C, STUDENT_COURSEOFFERING S " & _
"WHERE O.Course_code(+) = C.Course_code " & _
"AND O.Offering_id = S.Offering_id " & _
"GROUP BY C.Course_code, C.Course_title"
VB 2005 keeps complaining about a missing extra "(". Why???