?
Solved

Sending email via Integration services - SQL 2005

Posted on 2006-05-24
2
Medium Priority
?
289 Views
Last Modified: 2006-11-18
I have a customer table with an email id as column .I want to know how to retrieve the email from the table and assign it to a user variable. This variable will be created in the BIDS as user :: variable.
0
Comment
Question by:bluepearl
  • 2
2 Comments
 
LVL 10

Accepted Solution

by:
pai_prasad earned 200 total points
ID: 16754594
1. create a query in the Execute SQL Task control Flow.
2 . Include query  
Select emailID
from myTable in it.
3. Declare the variable with the datatype equvi to that of emailId in the table.
4. Dbl click on SQL task, go to ResultSet and assign the value returned by query to the user variable.



0
 
LVL 10

Expert Comment

by:pai_prasad
ID: 16834762
y the answer have been graded "C"...
is it inaccurate/incomplete in any sense....
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Suggested Courses

755 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question