RE: [sqlite] SQLite version 3 design question: '500'=500?

2004-05-13 Thread basil . thomas
cc [EMAIL PROTECTED] Subject RE: [sqlite] SQLite version 3 design question:

RE: [sqlite] SQLite version 3 design question: '500'=500?

2004-05-13 Thread VTenneti
[EMAIL PROTECTED] Subject RE: [sqlite] SQLite version 3 design question: '500'=500

RE: [sqlite] SQLite version 3 design question: '500'=500?

2004-05-13 Thread VTenneti
] Subject RE: [sqlite] SQLite version 3 design question: '500'=500

RE: [sqlite] SQLite version 3 design question: '500'=500?

2004-05-13 Thread Fred Williams
age- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 13, 2004 8:51 AM > To: Fred Williams > Cc: [EMAIL PROTECTED] > Subject: RE: [sqlite] SQLite version 3 design question: '500'=500? > > > > > > > > Funny, I thought SQL was

RE: [sqlite] SQLite version 3 design question: '500'=500?

2004-05-13 Thread VTenneti
cc Subject RE: [sqlite] SQLite version 3

Re: RE: [sqlite] SQLite version 3 design question: '500'=500?

2004-05-13 Thread Felipe Lopes
ED] >Sent: Wednesday, May 12, 2004 8:38 PM >To: [EMAIL PROTECTED] >Subject: RE: [sqlite] SQLite version 3 design question: '500'=500? > >In MS SQL 2000, through the query analyzer > > SELECT '500' = 500 > >returns 500 . > > SELECT 500 = '500' > >ret

Re: [sqlite] SQLite version 3 design question: '500'=500?

2004-05-13 Thread Darren Duncan
I have another suggestion which may help with the comparison for sorting issue, but you may find it a bit outrageous. Essentially, I suggest making SQLite a little bit less typeless. You already have multiple underlying data type representations as I recall, such as numbers, character strings,

Re: [sqlite] SQLite version 3 design question: '500'=500?

2004-05-13 Thread Darren Duncan
At 8:19 PM -0400 5/12/04, D. Richard Hipp wrote: The development team is making progress on SQLite version 3.0. But we've run across an interesting puzzle. What should be returned by this: SELECT '500'=500; Is the result "0" or "1"? In other words, what happens when you compare a number to

RE: [sqlite] SQLite version 3 design question: '500'=500?

2004-05-13 Thread Jarosław Nozderko
00'". Regards, Jarek > -Original Message- > From: Shawn Anderson [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 13, 2004 2:50 AM > To: [EMAIL PROTECTED] > Subject: RE: [sqlite] SQLite version 3 design question: '500'=500? > > > I agree, I would like to s

Re: [sqlite] SQLite version 3 design question: '500'=500?

2004-05-13 Thread Kevin Van Vechten
Another interesting data point, note the difference between ' and ". Welcome to psql 7.4, the PostgreSQL interactive terminal. kevin=# select '500'=500; ?column? -- t (1 row) kevin=# select "500"=500; ERROR: column "500" does not exist On May 12, 2004, at 5:19 PM, D. Richard Hipp

RE: [sqlite] SQLite version 3 design question: '500'=500?

2004-05-12 Thread Eric Pankoke
ki [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 8:15 PM To: [EMAIL PROTECTED] Subject: Re: [sqlite] SQLite version 3 design question: '500'=500? On Wed, May 12, 2004 at 05:37:49PM -0700, Keith Herold wrote: > In MS SQL 2000, through the query analyzer > >SELECT '500' = 5

FW: [sqlite] SQLite version 3 design question: '500'=500?

2004-05-12 Thread Fred Williams
-Original Message- From: Fred Williams [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 8:37 PM To: [EMAIL PROTECTED] Subject: RE: [sqlite] SQLite version 3 design question: '500'=500? In MySQL: Both return 1 > -Original Message- > From: Keith Herold [mailto:

Re: [sqlite] SQLite version 3 design question: '500'=500?

2004-05-12 Thread Doug Currie
Results from Firebird 1.5 (thanks for the syntax, Andrew)... SQL> select '500' = 500; Statement failed, SQLCODE = -104 Dynamic SQL Error -SQL error code = -104 -Token unknown - line 1, char 14 -= SQL> select 500 = '500'; Statement failed, SQLCODE = -104 Dynamic SQL Error -SQL error code = -104

RE: [sqlite] SQLite version 3 design question: '500'=500?

2004-05-12 Thread Keith Herold
4 5:20 PM > To: [EMAIL PROTECTED] > Subject: [sqlite] SQLite version 3 design question: '500'=500? > > > The development team is making progress on SQLite version > 3.0. But we've run across an interesting puzzle. What should > be returned by this: > > SELECT '50

Re: [sqlite] SQLite version 3 design question: '500'=500?

2004-05-12 Thread Tito Ciuro
Hello, On 12 may 2004, at 20:19, D. Richard Hipp wrote: SELECT '500'=500; Is the result "0" or "1"? In other words, what happens when you compare a number to a string that looks like that number. Are they equal or not? I vote for "0". Regards, -- Tito

[sqlite] SQLite version 3 design question: '500'=500?

2004-05-12 Thread D. Richard Hipp
The development team is making progress on SQLite version 3.0. But we've run across an interesting puzzle. What should be returned by this: SELECT '500'=500; Is the result "0" or "1"? In other words, what happens when you compare a number to a string that looks like that number. Are they