MichaelRSnow
Active Member
- Joined
- Aug 3, 2010
- Messages
- 409
I appreciate this is not an excel/VBA type query but can't find an obvious forum to post it? hopefully someone can help?
I have this SQL query which works when applied to non-numeric data (text) but I get the below error when using the code on numeric data
error - Error converting data type varchar to numeric?
On text fields it converts NULL to Blank, can anyone help?
Thank you
I have this SQL query which works when applied to non-numeric data (text) but I get the below error when using the code on numeric data
error - Error converting data type varchar to numeric?
Code:
, CASE ISNULL(ProductRate, 'NULLVALUE')
WHEN 'NULLVALUE' THEN ''
ELSE ProductRate
END AS ProductRate
On text fields it converts NULL to Blank, can anyone help?
Thank you