jaseervp@ymail.com Posted March 20, 2015 Share Posted March 20, 2015 hello, I have a table, that contains null in one column. when I query on that table null is also appearing in the result. Is there any option to hide the null? ------------- | id | name | |----------- | | 1 | null | | 2 | BANK | ------------- expected result is: ------------- | id | name | |-------------| | 1 | | | 2 | BANK | ------------- Link to comment Share on other sites More sharing options...
justsomeguy Posted March 20, 2015 Share Posted March 20, 2015 You can use a SQL function to check for null and replace it with an empty string, or you could check for the null in the language that you're using to display things. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now