|
|
Choosing A Webhost: |
Comparing chr(Numeric Value) to NULL: msg#00252db.maxdb
Hi there, we've encoutered some strange behaviour with the chr()-Function and NULL-Values today. Let's assume this query : -> select customerno from customer where customerno is not null <- "customerno" is Fixed 5,0 This query produces the results we've expected. Whereas -> select customerno from customer where chr(customerno) is not null <- produces no results. There should be the same results as above, in my understanding. Am I missing something in the documentation? -> select name from customer where chr(name) is not null <- and -> select name from customer where name is not null <- "name" is varchar(100). This one produces the expected results in both variations. Isn't it possible to compare a chr()ed numeric value to null? /me is confused. Flo -- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/maxdb?unsub=gcdm-maxdb@xxxxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: How to compile SQLDBC program, Andre Reitz |
|---|---|
| Next by Date: | Re: AW: SapDB crash with a SELECT statement, clovis_wichoski |
| Previous by Thread: | Cursor in Stored Proc, David Radcliffe @ Northampton |
| Next by Thread: | PHP Module as dynamic extension on RedHat Enterprise 2.1 (PHP 4.1.2), "Hötzel, Jürgen" |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |