Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
ankitaag
Partner - Creator III
Partner - Creator III

NULL

T:

Load * INLINE [

A,B,C

,1,

2,2,3

,,

];

T2:

Load A,B,C,'' as junk

Resident T

where A<>'' and B<>'' ;

drop table T;

1 Solution

Accepted Solutions
dineshsingh
Partner - Contributor III
Partner - Contributor III

T:

Load

*

INLINE [

A,B,C

,1,

2,2,3

,,

];

T2:

Load

  A,

  B,

  C,

  '' as junk

Resident T

Where not (A=''

and B=''

and C='');

Drop Table T;

View solution in original post

5 Replies
dineshsingh
Partner - Contributor III
Partner - Contributor III

T:

Load

*

INLINE [

A,B,C

,1,

2,2,3

,,

];

T2:

Load

  A,

  B,

  C,

  '' as junk

Resident T

Where not (A=''

and B=''

and C='');

Drop Table T;

ahaahaaha
Partner - Master
Partner - Master

Hi Ankita,

Forgive me, did not understand, but what did you want to receive? Result in the attached file.

Regards,

Andrey

beck_bakytbek
Master
Master

can you explain what do you achieve to expect by that?

ankitaag
Partner - Creator III
Partner - Creator III
Author

Hi,

Apologies for the incomplete question.

I want to ignore the row having all blank values. so as a result i want only 1st and 2nd row.

But the condition where A<>'' and B<>''  and C<>''; doesn't work, however the condition mentioned by Dinesh

not (A='' and B='' and C=''); works. Can anybody explain why?

Thanks and Regards,

Ankita

beck_bakytbek
Master
Master

Hi Ankita,

you can convert the blank value into Zero and alter exclude them

look at this post: https://www.youtube.com/watch?v=l20fjOQgbRc

i hope that helps