I am using case statements in Log parser to find out the browser names like, case strcnt(cs(user-agent), 'MSIE') when 1 THEN 'IE'
But some of the user agent fields have 'MSIE' more than one time, is there any way to check >=1
case strcnt(cs(user-agent), 'MSIE') when >=1 THEN 'IE'
or
case when strcnt(cs(user-agent), 'MSIE') >=1 THEN 'IE'
I tried these statement iis giving syntax error.
Please give some other workaround to check more than one occurance.. Thanks