Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Select max(id) not returning correct value
Tim's post describes the most logical path to go down, if you exhaust
those options, try
select /*+ full(t) */ max(id) from mytable;
to rule out any index anomaly
hth
connor
On 5/20/05, Tim Gorman <tim_at_evdbt.com> wrote:
> Jacinta,
>=20
> What is the datatype of the ID column? Is it NUMBER or a text datatype? =
If
> not number, then what are your NLS settings?
>=20
> Please do a DESCRIBE of the table/view in question and also SHOW PARAMETE=
R
> NLS?
>=20
"Semper in excremento, sole profundum qui variat"
-- http://www.freelists.org/webpage/oracle-lReceived on Sat May 21 2005 - 02:43:21 CDT
![]() |
![]() |