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.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 convert

Author  Topic 

mana
Posting Yak Master

102 Posts

Posted - 2014-09-25 : 02:44:38
Hello

i have a table with two columns Price and curency of that sometimes the currency is in euro and sometimes the currency in pound. how can i change all of the prices to euro in sl server according to their currency?? can you help me please?
thank you for your help

harsh_athalye
Master Smack Fu Yak Hacker

5581 Posts

Posted - 2014-09-25 : 04:12:33
What do you mean by changing prices to euro? is it for display purpose or actual currency conversion?

If it is actual currency conversion, you need a fx (foreign exchange) or similar table which you can use as a base rate for conversion.

Harsh Athalye
http://www.letsgeek.net/
Go to Top of Page
   

- Advertisement -