|
Archives of the TeradataForumMessage Posted: Mon, 15 Sep 2003 @ 15:13:40 GMT
You need to include wildcards in the like statement for it to pickup a string containing the value you want - in your example it should be - Select * from customer_table where cust_name like '%D''Arcy%' ; Extending that, if you want anyone with an apostrophe you would use Select * from customer_table where cust_name like '%''%' ; Regards, Stuart
| ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||