When i use object.exec('SELECT * FROM table WHERE PROGRAM_NAME="SomeIn"')
I got the error blow, but when i change to (WHERE START_DATE=20141120) there was be ok..
stmt.c:230:in oci8lib_210.bundle: ORA-00911: invalid character (OCIError)
from /Users/xxx/.rvm/gems/ruby-2.1.5/gems/ruby-oci8-2.1.7/lib/oci8/cursor.rb:126:in `exec'
from /Users/xxx/.rvm/gems/ruby-2.1.5/gems/ruby-oci8-2.1.7/lib/oci8/oci8.rb:278:in `exec_internal'
from /Users/xxx/.rvm/gems/ruby-2.1.5/gems/ruby-oci8-2.1.7/lib/oci8/oci8.rb:269:in `exec'
from SomeIn.rb:7:in `<main>'
It;s a problem or ? And those SQL statement it ok on the TOAD.
Hello everyone
PROGRAM_NAME VARCHAR WORK_FLAG VARCHAR START_DATE VARCHAR
When i use object.exec('SELECT * FROM table WHERE PROGRAM_NAME="SomeIn"') I got the error blow, but when i change to (WHERE START_DATE=20141120) there was be ok..
It;s a problem or ? And those SQL statement it ok on the TOAD.