Jump to content
We've recently updated our Privacy Statement, available here ×

Select statement returns error


f1012jasper

Recommended Posts

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 Column1
FROM   "TableName" TableName

Please advice,

Thanks,

Frank

 

 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...