Skip to main content
Announcements
MAINTENANCE ALERT: Dec. 12th starting 9 AM CET. Community will be read-only. GET DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Where clause

Hi Team,

I want to remove rows that contain name field which is either null or blank or unknown or - during load time.

I tried to use where clause in the script editor while loading the table.


all the condition works fine except '-'

Where [Student Name] <> '-' or [Student Name]= ' ' or [Student Name] = 'Unknown' or [Student Name]= 'null' ;

please guide me for the same.

Regards,

Priyanka

1 Solution

Accepted Solutions
Not applicable
Author

Hi Priya, For '-' try to: Where not IsNull([Student Name])

View solution in original post

4 Replies
PrashantSangle

Hi,

Try

Where not wildmatch([Student Name],' ','Unknown','null','-')

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Not applicable
Author

Try with this

where not isnull( [Student Name ]) or [Student Name ] = 'Unknown' or len(trim([Student Name ])) <> 0

Not applicable
Author

Hi Priya, For '-' try to: Where not IsNull([Student Name])

Not applicable
Author

Thanks Francisco

It worked