skb 44459 (10/19/2012)
Thanks for the reply.Another Quick Question. My Email body is very long.
Ideally i would like to store the Body in a text file and read the text file into a SQL Variable like
set @EmailBody = 'read from the text file
Is it possible ?
of course;
it's just a separate select statement:
SELECT @EmailBody = EmailTemplate
FROM Campaigns WHERE templateID = 42
--assuming there are customized fields for find and replace?
SET @EmailBody = REPLACE(@EmailBody, '[firstnamePlaceholder', @FirstNameFromCursor;
Lowell