Hi @Ayalasomayajula, Suryakumar ,
Thanks for using Microsoft Q&A !!
I do not think it is an issue with the bigint or int until I am missing anything over here. Please find below the query I used to validate the same -
You will get a conversion error when you run your query as you are trying to display QUESTION_CODE without converting it to a VARCHAR because HRA_STANDARD_ANSWER is implicitly being considered as a VARCHAR due to your THEN part (as 'UNKNOWN' is a text). You will need to explicitly convert the value to VARCHAR to be able to displayed/stored as HRA_QUESTION_ANSWER like below -
Thanks
Saurabh