dbTalk Databases Forums  

problem with lower

comp.databases.adabas comp.databases.adabas


Discuss problem with lower in the comp.databases.adabas forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
R. Kimmelmann
 
Posts: n/a

Default problem with lower - 07-16-2003 , 11:43 AM






Hi,

I have a strange thing in a table of my database.

I select

select nr1, textval
from mytable
where nr2 = 40

The result is OK:

nr1 textval
---------------
17 A


But if I do a selection like

select nr1, textval
from mytable
where nr2 = 40
and lower(textval) = 'a'


The result is emty.

Why?


nr1 is decimal(5), nr2 is decimal(3), textval is char(5)

There are no whitespaces around the text value.

If I select "... and textval = 'A'" the result is OK (The record will
be found).
If I omit the field 'nr1' in the fiellist of the select statement, the
result is also OK.
If I select "... and lower(textval) = lower('A') there is no result.
If I select "... and alpha(textval) = alpha('A') the result is OK.


May it realy depend on the 'decimal(3)' Field?

Does anybody have an idea?
Or has anybody had the same problem?


Thanks

Roland

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.