I have this query:
select * from m3fdbprd.cmnusr
where juultp = 1
and jutx40 <> LIKE 'M3%' OR jutx40 <> LIKE 'MeC%'
order by jutx40
I am getting an error:
SQL0104 - Token 'M3%' was not valid. Valid tokens: FOR USE SKIP WAIT WITH FETCH LIMIT ORDER UNION EXCEPT OFFSET.
where I am trying to do a multiple like, I am running this query to display all values in m3fdbprd.cmnusr where in the column jutx40 the value does not start with M3 or Mec.
Can you please advise?
I am running against an MS sql server database.
SQL0104does not looks like aSQL Servererror message. Googling shows that is is more likelyDB2