Login
Products
Sales
Support
Downloads
About
Home
»
Technical Support
»
ElevateDB Technical Support
»
Support Forums
»
ElevateDB General
»
View Thread
View Thread
The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Something wrong with COALESCE in an expression?
Thu, Jul 1 2021 5:25 AM
Permanent Link
Heiko Knuettel
Hi there,
I'm still on 2.30B4 so maybe this is already fixed, but could someone try:
--
create table test(txt varchar(100))
insert into test values ('a')
insert into test values (null)
select txt, coalesce(txt, 'null') from test
--
I'm not getting the 'null' string in the expression...
Cheers,
Heiko
Thu, Jul 1 2021 6:04 AM
Permanent Link
Heiko Knuettel
Ah, nevermind, I found it. 'null' as a string confuses the engine.
Sorry.