Hi,
I'm developing a database that contains various industrial equipment (Radiators, Silencers, Heat Exchangers etc).
My company buys each of these items in one of three currencies, GBP, USD or EUR.
When we draw up a quote for a customer to resell these items to, the customers quote will be in the customers local currency.
Example:
We buy Radiators in GBP. I have a radiators table that stores the price we pay for a radiator in GBP.
I have an American customer, who wants a radiator. The quotation I give to the American customer must be in USD.
I already have a field that stores the exchange rate between £ and $.
SELECT radiator model, radiator_price, radiator_price * exchangerate as [Customer Price in USD]
The above simplified SQL shows me the radiator the customer wants, the GBP cost to me, and the USD cost I will charge the US customer.
95 degree industrial noise stainless steel Radiator, £23,658.00, 18674.3
the GBP cost is fine, as it is already formatted in the table as currency (GBP), however, how can I make the [Customer Price in USD] field display in currency (USD)?
Apologies if this was a long winded way of asking a simple question
I'm developing a database that contains various industrial equipment (Radiators, Silencers, Heat Exchangers etc).
My company buys each of these items in one of three currencies, GBP, USD or EUR.
When we draw up a quote for a customer to resell these items to, the customers quote will be in the customers local currency.
Example:
We buy Radiators in GBP. I have a radiators table that stores the price we pay for a radiator in GBP.
I have an American customer, who wants a radiator. The quotation I give to the American customer must be in USD.
I already have a field that stores the exchange rate between £ and $.
SELECT radiator model, radiator_price, radiator_price * exchangerate as [Customer Price in USD]
The above simplified SQL shows me the radiator the customer wants, the GBP cost to me, and the USD cost I will charge the US customer.
95 degree industrial noise stainless steel Radiator, £23,658.00, 18674.3
the GBP cost is fine, as it is already formatted in the table as currency (GBP), however, how can I make the [Customer Price in USD] field display in currency (USD)?
Apologies if this was a long winded way of asking a simple question
