473,403 Members | 2,366 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Invalid Identifier (#904)

Hi,
Anyone have an idea what I am doing wrong? I am using MS Access and I
am creating a Pass Through Query. I get the following error:

ODBC--call failed>
[Oracle][ODBC][Ora]ORA-00904; "B"."RECVDATE": invalid identifier
(#904)

Here is my code:

SELECT A.CMPSRC, 1 AS COUNTVALUE, B.VALDESC
FROM MDSDBA.CINTAKE A,
MDSDBA.LOOKUPVALUES B
WHERE
A.INTAKEID=B.ID
AND B.RECVDATE>=to_date( '01-09-2005','dd-mm-yyyy')
AND B.RECVDATE<=to_date( '30-09-2005','dd-mm-yyyy')
AND A.CMPSRC IS NOT NULL
GROUP BY
A.CMPSRC;

Thanks in advance!

John

Jan 29 '07 #1
1 5651
Baz
The error is coming from Oracle not Access, but at a guess I would say that
B.RECVDATE is an invalid identifier (presumably doesn't exist in table
MDSBA.LOOKUPVALUES).

For more in-depth help with Oracle queries you need to be in an Oracle
forum.

"jmarr02s" <jo***********@illinois.govwrote in message
news:11*********************@j27g2000cwj.googlegro ups.com...
Hi,
Anyone have an idea what I am doing wrong? I am using MS Access and I
am creating a Pass Through Query. I get the following error:

ODBC--call failed>
[Oracle][ODBC][Ora]ORA-00904; "B"."RECVDATE": invalid identifier
(#904)

Here is my code:

SELECT A.CMPSRC, 1 AS COUNTVALUE, B.VALDESC
FROM MDSDBA.CINTAKE A,
MDSDBA.LOOKUPVALUES B
WHERE
A.INTAKEID=B.ID
AND B.RECVDATE>=to_date( '01-09-2005','dd-mm-yyyy')
AND B.RECVDATE<=to_date( '30-09-2005','dd-mm-yyyy')
AND A.CMPSRC IS NOT NULL
GROUP BY
A.CMPSRC;

Thanks in advance!

John

Jan 30 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: ghosh.sujay | last post by:
HI , My application runs fine when I am using SQL Server 2000 as its db, but it gives a message "Invalid attribute/identifier" error when the db is Oracle . Any help in this matter would be...
2
by: René Pedersen | last post by:
Hi I currently have a problem with registering a new server in my Enterprise Manager on a new PC. I need to connect to a MSSQL2K server on a windows 2003. My current PC is on the same LAN as...
10
by: =?utf-8?b?QXNiasO4cm4gU8OmYsO4?= | last post by:
I came over this code which puzzled me. Isn't the enum supposed to have an identifier? enum { BT_CONNECTED = 1, /* Equal to TCP_ESTABLISHED to make net code happy */ BT_OPEN, BT_BOUND,...
2
by: dobbouk | last post by:
I'm getting these 2 errors and haven't got a clue whats causing them please java 43: illegal start of type for (i=0;i< Number_of_squares; i++) java 215 identifier expected } ...
3
by: fazulu deen | last post by:
Hi all, For the following code : file_ptr = fopen("pass_fail.txt", "a"); // error line 393 fdisplay(file_ptr, "Test Passed"); fclose(file_ptr);
1
by: mknoll217 | last post by:
I am recieving this error from my code: The multi-part identifier "PAR.UniqueID" could not be bound. The multi-part identifier "Salary.UniqueID" could not be bound. The multi-part identifier...
2
by: =?Utf-8?B?R3JlZw==?= | last post by:
I've added some ICO Images to some buttons on my forms. I added them by selecting an Image via the "Select Resource" window. Anyway, all of my images are working just fine, I am getting a WARNING...
6
by: viny2cool | last post by:
Hey guys I am trying to create an trigger, but getting this error. My code is as follows CREATE OR REPLACE TRIGGER vendorpricingTR BEFORE UPDATE OF pricing ON vendors FOR EACH ROW DECLARE ...
1
by: Anthony Herrera | last post by:
CREATE TABLE CP_INTFDC (ID_ACQ_IIC number(11,0) not null, ID_FWD_IIC number(11,0) not null, ID_INCOMING_TIMER number(6,0) DEFAULT 600 NOT NULL, ID_OUTGOING_TIMER ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.