Thanks Brian. But what i am looking for is an update statement to strip all the single quotes from the emailaddress column.
- K On 5/24/06, Brian Polackoff <[EMAIL PROTECTED]> wrote: > You can try.. > > select substring(emailCol,2,LEN(emailCol)) from tablename > > Hope it helps! > > -Brian- > > > > > -----Original Message----- > From: Ken [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 24, 2006 2:05 PM > To: CF-Talk > Subject: db query > > Hii. I have a number of email addresses in my db that start with a > single quote. Like this: '[EMAIL PROTECTED] > '[EMAIL PROTECTED] > > etc. > > I need to run a query to strip off all the ' single quotes out of the > email addresses. I am using MS SQL 2000. > > Please help. > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241331 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

