Viewing 4 posts - 1 through 5 (of 5 total)
Good question. I interpreted this question to mean that if the old first name was 'Ted,' then include '.Ted.' as well as '.Ted'
August 16, 2015 at 6:07 am
#1820317
WHEREtbl.Body LIKE '%[^a-z]%'+pm.OldFirstName+'[^a-z]%' OR tbl.Body LIKE '%[^a-z]%'+pm.OldFirstName;
August 16, 2015 at 12:00 am
#1820309
IF OBJECT_ID(N'TAB1','U') IS NOT NULL
DROP TABLE TAB1;
CREATE TABLE TAB1 (id INT NOT NULL, num CHAR(3) NOT NULL);
IF OBJECT_ID(N'TAB2','U') IS NOT NULL
DROP TABLE TAB2;
CREATE TABLE TAB2 (id INT NOT NULL, num...
August 15, 2015 at 1:08 am
#1820269
TEST
August 15, 2015 at 1:06 am
#1820268