Summary: | The script below will display the multi-currency values entered into the company database:
select Convert(varchar(12),DATEADD(dd,( Date_valid_from -(SIGN( Date_valid_from )*693596)),'19000101'), 102) as 'DateFrom'
,Convert(varchar(12),DATEADD(dd,( Date_valid_to -(SIGN( Date_valid_to )*693596)),'19000101'), 102) as 'DateTo'
,from_currency, to_currency, rate_type, buy_rate, valid_for_days
from mccu3_vw
Order by 1 desc
Results below:
|