Welcome Guest, Not a member yet? Register   Sign In
Error with complex Oracle query
#16

You have a WHERE clause outside of the subquery in your SELECT declaration.
I color coded it for you and explained that your footer code ADDs a new WHERE to the SQL.

You're misusing the SELECT by having a FROM and a WHERE in it.  The CI code expects that you'll use the SELECT for SELECT statements (and the FROM and WHERE clauses for those respective functions) - you're using it wrong.

Use it as designed and this problem will go away.
Reply


Messages In This Thread
Error with complex Oracle query - by jace - 08-03-2017, 05:33 PM
RE: Error with complex Oracle query - by jace - 08-05-2017, 09:59 AM
RE: Error with complex Oracle query - by jace - 08-05-2017, 09:36 AM
RE: Error with complex Oracle query - by jace - 08-07-2017, 09:29 PM
RE: Error with complex Oracle query - by pporlan - 08-08-2017, 03:40 AM
RE: Error with complex Oracle query - by jace - 08-08-2017, 07:44 PM
RE: Error with complex Oracle query - by jace - 08-15-2017, 12:14 AM
RE: Error with complex Oracle query - by jace - 08-15-2017, 12:01 PM
RE: Error with complex Oracle query - by jace - 08-16-2017, 11:36 PM
RE: Error with complex Oracle query - by Kaosweaver - 08-17-2017, 05:23 AM
RE: Error with complex Oracle query - by jace - 08-17-2017, 02:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB