Reputation: 61
I have a query that gives me a null value result, however, I am starting the stuff with dashboards and I am creating KPIs, I would like to replace the null value with a VARCHAR value, is this possible?
Thank you.
I am trying to find information but I am not sure on how to elaborate the query to do so.
Upvotes: 0
Views: 905
Reputation: 10059
You can use IFNULL function: https://docs.snowflake.com/en/sql-reference/functions/ifnull.html
SELECT IFNULL( null, 'THIS WAS NULL' );
Upvotes: 1