Feb 2, 2007 #1 kskid Technical User Joined Mar 21, 2003 Messages 1,767 Location US I use the following select to pull the erroneous records with leading blanks but can't quite figure out how incorporate it into an update transactions select leftrim(fname,' ') from master where substr(fname,1,1) = ' ' and fname is not null
I use the following select to pull the erroneous records with leading blanks but can't quite figure out how incorporate it into an update transactions select leftrim(fname,' ') from master where substr(fname,1,1) = ' ' and fname is not null
Feb 2, 2007 1 #2 carp MIS Joined Sep 16, 1999 Messages 2,622 Location US UPDATE master SET fname = LTRIM(fname) WHERE fname IS NOT NULL; Upvote 0 Downvote
Feb 2, 2007 Thread starter #3 kskid Technical User Joined Mar 21, 2003 Messages 1,767 Location US Worked great! Thanks! Worthy of a star! -LW Upvote 0 Downvote