raresql.com
SQL SERVER – String comparison as a Boolean in Select statement
Most of the times, we usually maintain the status column of any table in varchar data type. But sometimes due to the requirements, we need to convert this Varchar data type column to Boolean data t…