Database Tuning (MOSC)

MOSC Banner

Select behavior

edited Mar 17, 2010 11:59PM in Database Tuning (MOSC) 21 commentsAnswered ✓
Hi,

I have had a strange behavior when i tried to run a statement against an Oracle database 10g R2.

the statement is pretty simple and Col1 is Number(8);

select * from toto A where A.col1=1;

No row returned

The other statement is :

select * from toto A where to_number(A.col1)=1;

And it returns rows.

For additional information, the tabe is partionned by range on col1.

Regds,

AB

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center