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.
| Author |
Topic |
|
helixpoint
Constraint Violating Yak Guru
291 Posts |
Posted - 2009-05-19 : 08:32:34
|
| Is it possible to add a recipients display name with the email address?DaveHelixpoint Web Developmenthttp://www.helixpoint.com |
|
|
jholovacs
Posting Yak Master
163 Posts |
Posted - 2009-05-19 : 11:36:11
|
I think the format is something like @recipients = 'George Smith <george@smith.com>' kind of thing, but don't quote me on that. SELECT TOP 1 w.[name]FROM dbo.women wINNER JOIN dbo.inlaws i ON i.inlaw_id = w.parent_idWHERE i.net_worth > 10000000 AND i.status IN ('dead', 'dying') AND w.husband_id IS NULLORDER BY w.hotness_factor DESC |
 |
|
|
|
|
|