f1012jasper Posted August 4, 2011 Share Posted August 4, 2011 Hi Folks,Just started using iReport - I am trying o execute a simple select statement and get an error [Oracle][ODBC][Ora]ORA-00904: "TableName"."FieldName" :Invalid identifier My statement is:SELECT TableName."FieldName" AS Column1FROM "TableName" TableNamePlease advice,Thanks,Frank Link to comment Share on other sites More sharing options...
pjamack Posted August 4, 2011 Share Posted August 4, 2011 Check to make sure you have the right Database name, right table names, right column names. Check to see if you have the right datasource properties set up, right JDBC Oracle driver, etc.Sometimes you might need to reference domain, server name,etc. FOr example Your database is called TOYS and resides on ABC server. You might need to reference it as ABC.TOYS.tablename and so on. Link to comment Share on other sites More sharing options...
f1012jasper Posted August 8, 2011 Author Share Posted August 8, 2011 Thanks a lot - that was the problem, works like a charm now.Frank Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now