Task to add new row and values to Table?

Hi, I am new to SSIS, I have a table that I would like to capture daily currency conversion rates. In my Control Flow pane, I've been able to use a web service task to get a string value of the conversion rate pass it to an XML task, and connect it to at Data Flow Task. So now I'm not sure what to do from here. I would like to input the daily values into my table:

[CurrencyID] [int] IDENTITY(1,1) NOT NULL,
[CurrXDate] [datetime] NOT NULL,
[Country] [nvarchar](50) NOT NULL,
[CurrXRate] [float] NOT NULL,

Open in new window



insert into tbl_CurrXrates
(CurrXDate, Country, CurrXRate)
values
(getdate(), 'USD', @[User::ConversionRate])

Open in new window


What data tasks and order would I use to add a new row to my table which I think would be a simple insert statement. Hope my question makes sense.
Scarlett72Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mlmccCommented:
WHat do you mean new row?

Each insert adds a new row to the table.
The insert you have written should do it.  Is there an issue?

mlmcc
Scarlett72Author Commented:
Hi mlmcc, you're right scripting an insert statement isn't an issue.  What I want to do is create an ssis package for this.  So I would insert a row with the date and then once the row for that day is inserted update that row with the currency exchange rate, or else just insert that row with the date and currency exchange rate.  So it's not taking data from a data source, but getting the currency rates from a web service, which I've done, assigning the currency value to a variable and a date variable and then inserting that into the database.  What process could or data task could I use to do this?
mlmccCommented:
I don't know SSIS so I can't help with that.

mlmcc

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Scarlett72Author Commented:
My question wasn't really answered and I ended up just scripting a solution; however, thank you for responding.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.