Skip to content

SQLP to support empty fields #2490

Answered by jqnatividad
ondohotola asked this question in Q&A
Discussion options

You must be logged in to vote

@ondohotola , have you tried using null as instead of '' as?

SELECT null as a, null as b, fqdn, null as c, ns1, ns2 , 
   ...,
   ns12, null as d, 
   ... ,
   null as lastcolumn FROM data;

BTW, converted the issue to a discussion so other folks with similar questions can find it...

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@jqnatividad
Comment options

Answer selected by jqnatividad
@ondohotola
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2474 on January 28, 2025 19:15.