Description:
- I have a column(EmailsAdress) on a
table(BusinessUsers) on my databases
that stores email address.
Problem:
- Some of the rows of data have a dot
at the beginning of this
column for example
.jane.doe@mycompany.com (The dot i want to get rid of is the dot just before the charater j in jane) - Some of the rows of data have a dot
at the end of this
column for example
john.doe@mycompany.com. (The dot i want to get rid of is the dot just after the charater m in com)
Solution:
- I am using SQL Server 2008 is there a T SQL statement that can do that
Thanx in advance
Using native functionality – SUBSTRING
With a period at the start
With a period at the end