RE: ODBC – getting today’s exchange rate
The id you are receiving is likely a reference to another table which contains the information you want. If I have a list of colors having the ids (1=Red, 2=Blue, 3=Green) and a field that uses this list, selecting Blue in NetSuite will show as 2 in ODBC. Once you determine the table that contains the list information, you can use SQL Joins to select the appropriate data.
Your query may look something like this:
SELECT CURRENCY_AMOUNT
FROM MAIN_TABLE
JOIN CURRENCY_TABLE on
CURRENCY_AMOUNT.CURRENCY_TYPE = CURRENCY_TABLE.INTERNAL_ID
The join allows you to reference the values associated with your currency type. Hopefully I understood your question and this helps.