Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Variables in a column

Author  Topic 

Midnite630
Starting Member

1 Post

Posted - 2010-04-28 : 18:32:50
I got a crazy task to rewrite our company's emailer for surveys. I want to move it into SQL as a stored procedure. The only problem I have is that depending on where you are located you get a different email subject and message. The easy part is the subject, but the messages has variable information in it. Other then writing each part in to separate fields and concatenating all together. I would like to have one field with email message and variables that would be replaced at the time of processing.

Anyone have any ideas?

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2010-04-28 : 18:52:28
Please show us a data example.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
   

- Advertisement -