I have gone through some articles that conversion is not possible however I have come across an issue where a value is been fetched in the rowset and needs to be used in the scalar expression.
ColumnA is a string value and ColumnB is an Int..
@RequiredData = SELECT [ColumnA] from @Input ORDER BY [ColumnB] ASC
FETCH 1 ROWS;
IF((@RequiredData == "Something")) THEN
//DO SOMETHING
END;
This fails in ADLA with an issue Rowset variable @RequiredData is not a scalar variable.