|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Thursday, April 18, 2013 11:56 AM
Points: 27,
Visits: 113
|
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Saturday, October 30, 2010 5:47 AM
Points: 4,
Visits: 25
|
|
What about just consuming http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml ? Converting that into a table is also very simple.
|
|
|
|
|
SSCertifiable
       
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 4:39 PM
Points: 6,260,
Visits: 1,977
|
|
what exactly is "real-time" about this ?
* Noel
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Thursday, May 16, 2013 7:56 AM
Points: 109,
Visits: 564
|
|
noeld (4/29/2010)
what exactly is "real-time" about this ? 
Each time the package is executed, it should download the most current exchange rates.
In something like batch processing, you wouldn't want the conversion rate to change, in "real-time" for each record in your source anyway - you'd want them all to have the same conversion rate timestamp so that the data is consistent for the given source population.
As far as feedback goes, the screenshots and associated steps seemed quite hard to follow and out of order a bit. I'll have to go back and re-read it when I have some more time.
|
|
|
|
|
Forum Newbie
      
Group: General Forum Members
Last Login: Monday, May 03, 2010 11:11 AM
Points: 7,
Visits: 2
|
|
| Great Article! How often are you processing/do you recommend processing the conversion rate?
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Thursday, April 18, 2013 11:56 AM
Points: 27,
Visits: 113
|
|
dewit.john (4/29/2010) What about just consuming http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml ? Converting that into a table is also very simple.
Hey John, thanks for the reply. This is really good data and to your point could be ingested and refreshed every day.
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Thursday, April 18, 2013 11:56 AM
Points: 27,
Visits: 113
|
|
bob_006 (4/29/2010) Great Article! How often are you processing/do you recommend processing the conversion rate?
Thanks for the feedback Bob. In regards to your question: it depends. Like Phil Mentioned, if you are doing batch processing you wouldn't want your conversion rate to change. Most e-tailers (amazon included) are updating their conversion rates daily.
Hope that helps.
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Monday, October 25, 2010 6:40 AM
Points: 46,
Visits: 133
|
|
| We do live in a 24 hour world. Of course, if you can buy and sell a currency at the same price throughout your business day (assuming no commission), there shouldn't be a problem.
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Thursday, November 18, 2010 8:24 AM
Points: 12,
Visits: 85
|
|
There may be other motives for the method shown that I'm not getting but it seems to be an insanely inefficient and complicated way to do it: read service, write to file, read file, parse text, convert text, wrap it in dataset, iterate over dataset and then run the update. You can do it in two steps (1) read service into text variable (2) pass the text variable to the update statement. The parsing is done in SQL like this:
Update CurrencyConversion Set USD_Amount = Amount * convert(xml,?).value('(//double)[1]','float'), ConvertedDate = getdate() Where USD_Amount IS NULL
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Today @ 1:30 AM
Points: 1,060,
Visits: 4,166
|
|
I must be missing something - what does this have to do with SSIS? It looks more like web development? Can anyone explain please
|
|
|
|