Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
Iam using the where clause , can any suggest me if iam wrong . from dept iam trying to take only set and jet
where Dept_S='set' and Dept_S='jet' and not match(User,'A435\devt'):
Thanks
Try
where match(Dept_S,'jet','set') and not match(User,'A435\devt');
TRY
where MATCH(Dept_S,'set','jet')>0 and match(User,'A435\devt')=0;
I dont think so the match is required actaully the code was like this
where Dept_S='set' and not match(User,'A435\devt'):
now they want to show jet also , how do i go with this .
There are various ways you can use like with match() or without match().
You can replace your and with or like:
Dept_S='set' or Dept_S='jet' and not match(User,'A435\devt')
Note, you might have to put an additional brace like
(Dept_S='set' or Dept_S='jet') and not match(User,'A435\devt')
Depending upon your expected output
smilingjohn have you tried the above?