Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have a column say 'Department' and they contains values like -
ab xyz EXT 0098
cd mno INT 887
ef qrs DEV 77
gh uvw EXT 332
ij rst LIQ 21
I just want to add an expression in load script (something like WHERE department NOT IN ('EXT' & 'INT') which will exclude the values which has EXT and INT in them, so my output will be -
ef qrs DEV 77
ij rst LIQ 21
Dear @Reko_freed ,
can you try where condition with wild match function like below
Where NOT WildMatch(Data,'*EXT*','*INT*') ;
Dear @Reko_freed ,
can you try where condition with wild match function like below
Where NOT WildMatch(Data,'*EXT*','*INT*') ;
Assuming this is a load script rather than an SQL statement, perhaps:
Where Not WildMatch(Department,'*EXT*','*INT*')
Here what should I put in place of data, is it the column name?
yes, column name.
Department
Many Thanks, @mdmukramali