Jun 12, 2003 #1 jimoblak Instructor Oct 23, 2001 3,620 US Suppose that I have 3 records that looks like this: 123-23 12-321 1-56 Is there a simple SQL statement that can convert the hyphen to a space, without damaging the rest of the string in the field? - - picklefish - -
Suppose that I have 3 records that looks like this: 123-23 12-321 1-56 Is there a simple SQL statement that can convert the hyphen to a space, without damaging the rest of the string in the field? - - picklefish - -
Jun 12, 2003 1 #2 swampBoogie Programmer Jan 6, 2003 1,660 SE Code: update t set c = replace(c,'-',' ') where c like '%-%' Upvote 0 Downvote