I have a problem with below SQL code. Error message: "Error converting data type varchar to float."
CASE WHEN ... THEN volatility else 'NA' end) as volatility
So the field 'volatility' is of datatype 'varchar', while 'NA' is datatype 'float', right?
I guess it can be solved by using CONVERT...
Goal is to select data from a table ec_rates, but some conversion is needed to have the right data/column header in a csv file
Please see 2 lines of data from the table and what I would like
rate_code market_date bid ask mid
FR.EUR.GBY.0.0.1 2012-03-14 0.32 0.32 0.32...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.