balasach82 (12/11/2012)
I have to send mail from SQL 2008 to an id James.T'Cooper@zzzzz.comSince the id has quotes ('), am getting syntax error. How to resolve this?
Add in the CHAR(39) keyword where the ' goes
So 'James.T+'CHAR(39)+'Cooper@zzzzz.com'
Or 'James.T''Cooper@zzzzz.com'