sql - Implicit conversion between int and varchar -


below query show conversion error.

select 'a' union select 1 

to execute have explicitly convert it..

is there other way implicit conversion?

may can convert integer varchar explicitily.but in implicit can convert alphabets convert using ascii values

select ascii('a') union select 1 

or

select 'a' union select cast(1 varchar) 

Popular posts from this blog

javascript - Js, document.getElementById("ID").innerHTML, error -

objective c - Is there a way in OCMockito to make stubs fail when an unknown method is called? -

jquery - jqGrid update specific column data with out refreshing the entire column? -