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

In blue in your post is a $this->db->select() where you have a FROM and WHERE
Then you have a $this->db->where() which appends the SELECT with "WHERE..." giving you the two WHEREs in the SQL.

Take out all of the WHERE commands and FROM commands within the SELECT command - and use the respective $this->db->from() and $this->db>where() to construct those.
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 Kaosweaver - 08-15-2017, 05:04 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 jace - 08-17-2017, 02:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB