I am writing a SQL stored procedure which uses a cursor to send email to various people. How can I get unique emails from EmailTable1, EmailTable2, and EmailTable3 in "one" SELECT statement?
Each person in EmailTable1 can also be in EmailTable2 or EmailTable3, etc.
Please help. Thank you in advance.
Each person in EmailTable1 can also be in EmailTable2 or EmailTable3, etc.
Please help. Thank you in advance.