In SSIS I have an email address stored in a variable. The person's name in the email address has a single quote which is confusing sql server.
Something such as
Select field1, field2, from mytable where cust_emlad_tx = ?
cust_emlad_tx contains a name such as Jim.O'Dowell@something.com
How could I replace that with two single quotes so that sql server will process it?
Thanks