NewbiDoobie
Technical User
I am trying to do an insert, however this is not working the way I expected.
Case when liter is not null then '-' else
convert(varchar(5),(convert(numeric (18,1), Liter) * 1.0567) End as Quarts
I had expected to conver a varchar(4) to conver to a number if it was not null, multiply it out by the conversion , then convert it back to a varchar
It keeps giving me errors
Case when liter is not null then '-' else
convert(varchar(5),(convert(numeric (18,1), Liter) * 1.0567) End as Quarts
I had expected to conver a varchar(4) to conver to a number if it was not null, multiply it out by the conversion , then convert it back to a varchar
It keeps giving me errors