troubleshooting Question

Create a Temp Table, inserting specific values to avoid duplicating rows

Avatar of Annette Wilson, MSIS
Annette Wilson, MSISFlag for United States of America asked on
Microsoft SQL Server 2005
13 Comments1 Solution311 ViewsLast Modified:
I need to create one row of data for my emailing program.

I have one table for Employee Information including Functional Mgr
Another Table has Employee Assets and each Asset has an assigned asset manager.

In my Email program, I needt to create one Row that Includes Functional Mgr Email & Name, Talent Mgr Email and Name and the Asset Manager Email and Name.

I don't have to worry about the assets.  I have created a query within an HTML body that returns a table with those values.

I do need to include all Asset Managers, the one Functional Manager and the one Talent Manager in the email.

I'm thinking that I can create a temp table to pull the emal addresses from in my stored procedure.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 13 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 13 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros