SQL Performance (MOSC)

MOSC Banner

Select query returns no records after database upgrade

edited Sep 16, 2014 5:06AM in SQL Performance (MOSC) 3 commentsAnswered

Hello,

After the database upgrade to Oracle 11.2.0.3.0, I see a strange behaviour of an sql query.

There was a database upgrade performed from Oracle version 10g  to 11.2.0.3.0 using expdp and impdp method.

Now on the target database table , there is a column with datatype as NUMBER(38,0).

When I do a query "select * from mytable where columnoid=1434098226;  I donot see any results

However,using SQL developer tool , I can see the record exists.

Also if I execute select * from mytable where columnoid like '1434098226%' , I am able to see the output.

Could you please suggest why this is happening ? What shall I check? Is it a database bug.

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