-1
Good afternoon guys, all right?
I am putting together a financial report where I wish to create a field that returns me whether that amount has been paid or not. The query checks the date of the drop if it is filled it will show in the field that the amount was paid and if it is empty it will show that it was not paid. But I’m having difficulties in this comparison. They could show me the error in the query:
SELECT NUFIN,AD_DTVENCALTER,DHBAIXA
CASE DHBAIXA
WHEN dhbaixa IS NULL THEN 'Não'
WHEN dhbaixa NOT NULL THEN 'sim'
END AS situação
FROM TGFFIN
Thank you so much for the help, friend. Gave straight. I’m starting now on this walk and I’m suffering haha
– Pablo Dos Santos Neves
@Pablodossantosneves please mark the answer as correct, since it solved your problem. Thank you!
– Guilherme Nascimento
Ready @guilhermeNascimento. Sorry, I’m learning to use the forum yet. I have no experience with this type of community.
– Pablo Dos Santos Neves
No problem, thank you!
– Guilherme Nascimento