Query problem (1 Viewer)

artificiality

Registered User.
Local time
Today, 23:49
Joined
Jan 30, 2007
Messages
20
The following query does not work since it does not accept "AS date". Why ?

It accepts AS RunID :


SELECT 257 AS RunID, RawData.fullName, RawData.name, RawData.category, RawData.type, RawData.subType, RawData.numberOfLines, RawData.dataType, RawData.virtual, #1/3/2007# AS date, RawData.namespace
FROM RawData
WHERE (((RawData.namespace)='customer.demo') AND ((RawData.RunID)=256));
 

KeithG

AWF VIP
Local time
Today, 13:49
Joined
Mar 23, 2006
Messages
2,592
Date is a reserved word in Access because it is the name of a function.
 

artificiality

Registered User.
Local time
Today, 23:49
Joined
Jan 30, 2007
Messages
20
I need date , not Date.

Access does not support case sensitivity ?
 

boblarson

Smeghead
Local time
Today, 13:49
Joined
Jan 12, 2001
Messages
32,059
you can't use key words regardless of case in Access
 

Users who are viewing this thread

Top Bottom