Welcome Guest, Not a member yet? Register   Sign In
Active Record Problem
#1

[eluser]Unknown[/eluser]
I'm a newbie on CI. And i've a project thats using Oracle. The problem is when i use active record to get data from table using.

Code:
var $trans = 'table_name';

and the active record

$query = $this->db->get($this->trans);

when i execute, there are a problem "Database ..." and i look the query result is

Code:
select * from "table_name"

but if i use sql = "select * from table_name" and run in $query = $this->db->query($sql). It works with all data.

anyone have been solve this problem ?

oya..., i'm using CodeIgniter 2.1 and Oracle 10g.
#2

[eluser]Unknown[/eluser]
[quote author="Gede Kukuh" date="1326249438"] in my DB my table is UPPERCASE. [/quote]

THANKS! had the same issue! Big Grin




Theme © iAndrew 2016 - Forum software by © MyBB