![]() |
|
Archives of the TeradataForumMessage Posted: Thu, 31 Mar 2005 @ 09:18:28 GMT
Capp: How about using a statement like the one below
SELECT
CASE
WHEN position('cessation' in sh.tobacco_comments) > 0 THEN 'CESS1'
WHEN POSITION ('cess' in sh.tobacco_comments) > 0 THEN 'CESS2'
END
Hope it helps! --Naveen.
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
![]() | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 30 Jun 2008 | ||||||||||||||||||||||||||||||||||||||||||||||||