Brad keating
Nov 15, 2013 4:34:58 PM

What is the contains term for winsql?

What term or method can I use in WinSQL to search a string for a term?  I tried Like without much result

select count (distinct client_id) as clients,

from kea467_table
where web_page_nm contains 'happy'



Anonymous
Nov 15, 2013 4:35:25 PM

What is the contains term for winsql?

select count (distinct client_id) as clients

from kea467_table

where web_page_nm contains 'happy'



Synametrics support engineer
Nov 15, 2013 9:25:23 PM

What is the contains term for winsql?

Hi,

The answer to this question depends upon the back-end database. Which database are you using for the back-end? AFAIK, "contains" is only supported by Informix. Try rewirting your query like:

select count(distinct client_id) as clients from kea467_table where web_page_nm like '%happy%'

Imran

 

Navigation

Social Media

Powered by 10MinutesWeb.com