Subject | RE: [ib-support] Importing From External File |
---|---|
Author | Doug Chamberlin |
Post date | 2001-08-17T13:18:10Z |
At 8/17/2001 09:21 AM (Friday), Mike Grover wrote:
However, you want two separate indexes, one on LATITUDE and one on LONGITUDE.
Those are VARCHAR or CHAR fields, right? (Even though they contain numeric
characters.) If so, you want to use single quotes to delimit them, not
double quotes as you have done above.
>Should I query in IB like this:I don't think it should matter.
>SELECT * FROM EXPERIAN WHERE LATITUDE BETWEEN "xxxxxxxxx" AND "xxxxxxxxx"
>AND
>LONGITUDE BETWEEN "xxxxxxxxx" AND "xxxxxxxxx"
>or
>SELECT * FROM EXPERIAN WHERE LATITUDE >= "xxxxxxxxx" AND LONGITUDE >=
>"xxxxxxxxx"
>AND LATITUDE <= "xxxxxxxxx" AND LONGITUDE <= "xxxxxxxxx"
However, you want two separate indexes, one on LATITUDE and one on LONGITUDE.
Those are VARCHAR or CHAR fields, right? (Even though they contain numeric
characters.) If so, you want to use single quotes to delimit them, not
double quotes as you have done above.