home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!mips!sdd.hp.com!usc!rpi!scott.skidmore.edu!psinntp!psinntp!isc-newsserver!kxs5829
- From: kxs5829@ultb.isc.rit.edu (K.X. Saunders )
- Subject: Re: Sybase 4.2 BUG. Is there anybody else who thinks this is a bug!!!
- Message-ID: <1992Aug21.034950.25549@ultb.isc.rit.edu>
- Originator: kxs5829@ultb
- Sender: news@ultb.isc.rit.edu (USENET News System)
- Nntp-Posting-Host: ultb-gw.isc.rit.edu
- Organization: Rochester Institute of Technology
- References: <1992Aug19.231324.2259@infonode.ingr.com>
- Date: Fri, 21 Aug 1992 03:49:50 GMT
- Lines: 46
-
- In article <1992Aug19.231324.2259@infonode.ingr.com> srb@barakam.b17d.ingr.com (Sreedhar Barakam) writes:
- >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
-
- Yeah, it's a bug. There is only one row in the table you are selecting
- from. So the result table cannot consist of more rows than you started with.
-
- - Kyle
-
- --
- +-"Remember, [MS]DOS is sort of a UNIX deviant already" - dmoscny@piglet.-----+
- | // Only /\ kxs5829@ultb.isc.rit.edu cincinatti. |
- | \ // /--\MIGA kyle@nick.csh.rit.edu oh.us |
- | \X/ SQLdb - $40 rdbms Rochester Institute of Technology |
-