Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Strange situation - DB2

 
   Database Help (Home) -> Informix RSS
Next:  Q about DB2 Express-C and Admin Tools  
Author Message
Ravi Shankar Namasivayam

External


Since: Jul 22, 2010
Posts: 1



(Msg. 1) Posted: Thu Jul 22, 2010 6:54 am
Post subject: Strange situation - DB2
Archived from groups: comp>databases>informix (more info?)

I was able to see certain records when I did SELECT * FROM T1; When I
did SELECT * FROM T1 WHERE EMP_ID = '1234'; 1234 being taken from
output of the first query, returned no rows.

I did REORG on T1 and SELECT * FROM T1; did not show 1234 employee id
in the entire output.

Why 1234 showed up at first place?

 >> Stay informed about: Strange situation - DB2 
Back to top
Login to vote
Everett Mills

External


Since: Jul 22, 2010
Posts: 1



(Msg. 2) Posted: Thu Jul 22, 2010 9:10 am
Post subject: RE: Strange situation - DB2 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> -----Original Message-----
> From: informix-list-bounces DeleteThis @iiug.org [mailto:informix-list-
> bounces DeleteThis @iiug.org] On Behalf Of Ravi Shankar Namasivayam
> Sent: Thursday, July 22, 2010 8:55 AM
> To: informix-list DeleteThis @iiug.org
> Subject: Strange situation - DB2
>
> I was able to see certain records when I did SELECT * FROM T1; When I
> did SELECT * FROM T1 WHERE EMP_ID = '1234'; 1234 being taken from
> output of the first query, returned no rows.
>
> I did REORG on T1 and SELECT * FROM T1; did not show 1234 employee id
> in the entire output.
>
> Why 1234 showed up at first place?

If, as the subject line suggests, you are using DB2, you'll likely get a better answer in a DB2 forum. Best guess is that either EMP_ID isn't a numeric field or that the 1234 you saw in the query returning every row has spaces or something in it so that '1234' <> '1234 '.

--EEM
> _______________________________________________
> Informix-list mailing list
> Informix-list DeleteThis @iiug.org
> http://www.iiug.org/mailman/listinfo/informix-list

 >> Stay informed about: Strange situation - DB2 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Strange behaviour of sysdefaults - We have a program for database upgrades that checks the current database structure, compares it to what it should be for this upgrade and executes the necessary alter and create statements. But we have a problem with the defaults in Informix. The..

A strange query result. - IBM Informix Dynamic Server Version 9.40.HC5 HPUX 11iV1 I have a very weird issue with a very complex set of views. Here is what I'm seeing: SELECT bucket, id FROM lu_ar_bucket_vw WHERE bucket=5 ; bucket id --------- ------- 8 2058987 ...

Strange behaviour deleteing blobs - Hello, IDS 9.40FC5 HP-UX11.11 We've got a table with a byte field stored all in a single dbspaces, I mean no blobspace. oncheck -pt shows all allocated pages as used. When we delete the old rows, we should expect the number of used pages decrease, but....

dbaccess connect to (201). Strange problem? - > echo "connect to 'a' USER test; insert into t1 values (100);"|dbaccess sysmaster Database selected. 201: A syntax error has occurred. Error in line 1 Near character position 24 206: The specified table (t1) is not in the database. ...

Strange apparent value in decimal column using dbaccess - Anyone ever seen anything like this before? > select <col>, <col2> from <table> where <col3> = 17718120; <col> <col2> 6285416 0.05 6285417 //.// 2 row(s) retrieved. > sel...
   Database Help (Home) -> Informix All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]