Re: Used a reserved word in a field name.....
- From: "Ian Groves" <ian@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 26 Feb 2008 22:52:51 -0000
Thanks everyone for your help.
All sorted.
"Ian Groves" <ian@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:47c30f81$1@xxxxxxxxxxxxxxxxxxxxxxxxx
I have a MS Access Database and use TADODataset.commandtext and use a JET
connection to run....
SELECT * FROM Containers WHERE Number > 10
Of course this fails as I have used the field name NUMBER, aside from
restructing the table and my app how can i get around this?
I have tried
SELECT * FROM Containers WHERE [Number] > 10
SELECT * FROM Containers WHERE "Number" > 10
SELECT * FROM Containers WHERE 'Number' > 10
with no luck.
Thanks in Advance for any support given.
Ian Groves
.
- References:
- Used a reserved word in a field name.....
- From: Ian Groves
- Used a reserved word in a field name.....
- Prev by Date: Re: Transactin and Rollback.
- Next by Date: Re: Transactin and Rollback.
- Previous by thread: Re: Used a reserved word in a field name.....
- Next by thread: Problem with bit field using MS Sql server and Turbo Delphi 2006
- Index(es):
Relevant Pages
|