Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: simple sql using between startnumber and endnumber not performing
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Benjamin Sølberg wrote:
> I am using an sql which looks like this:
>
> select startnumber, endnumber from table where '12345678' between
> startnumber and endnumber
What is it - numbers or strings?!? If it's a number, loose
the quotes. (If it's a string, I'd make you rename the
columns in the design!)
>
> Does any one of you have any suggestions ?
>
Yes
Top-posting is one way to shut me up...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
iD8DBQFGgrFiLw8L4IAs830RAtkmAKCSRdO2Ab4yEwWHIN4FWLM4gTcUmgCfWlzb
MU7zlqalHvZFFTStEVDV42o=
=ZFK7
-----END PGP SIGNATURE-----
Received on Wed Jun 27 2007 - 13:50:10 CDT