home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases
- Path: sparky!uunet!infonode!barakam!srb
- From: srb@barakam.b17d.ingr.com (Sreedhar Barakam)
- Subject: Sybase 4.2 BUG. Is there anybody else who thinks this is a bug!!!
- Message-ID: <1992Aug19.231324.2259@infonode.ingr.com>
- Sender: usenet@infonode.ingr.com (Usenet Administrator)
- Organization: Intergraph Corp.,
- Date: Wed, 19 Aug 1992 23:13:24 GMT
- Lines: 45
-
- I have a Sybase 4.2 server(on SunOS 4.1.2) which has two tables
- t1,t2. They are populated like this:
-
- t1 t2
- c1 c1
- 1 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
-
- For the following query:
-
- select * from t1 where c1 <any (select c1 from t2)
-
- The results are:
- c1
- -----------
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- If you have two 1's in t1 the results would be 1 being returned 18 times.
- You could come up similar examples for operator >. Imagine getting 10000
- duplicate rows from a table which has one row when selected comparing its value
- with another table having 10000 values. When I contacted Sybase support says
- they have to contact their engineers to decide whether this is a bug! It just
- baffles me no end.
-
- We do not get comp.databases.sybase(is it out there yet?), hence I am
- posting here.
-
- Sreedhar Barakam.
- srb@barakam.b30.ingr.com
-
-