Feb 2, 2007 #1 kskid Technical User Mar 21, 2003 1,767 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 Sep 16, 1999 2,622 US UPDATE master SET fname = LTRIM(fname) WHERE fname IS NOT NULL; Upvote 0 Downvote
Feb 2, 2007 Thread starter #3 kskid Technical User Mar 21, 2003 1,767 US Worked great! Thanks! Worthy of a star! -LW Upvote 0 Downvote