on-internet
← Community

I am using SQL to pull 100+ fields from a database and have a format question for my final output. I want any blanks replaced by N/A

Stack Overflow ·

Other than using a CASE statement in a SQL query, how to replace any null or blank by N/A in my query result by N/A? I am trying to achieve this using Spark SQL in Databricks. Is there a simpler way using python?

Comments

Sign in or sign up to comment and upvote.

No comments yet.