I need something like this: select (len(someLongTextColumn)=0) as isEmpty; The above doesn't work, any alternatives?