Select case(Active) When 'False' Then 0 When 'True' Then 1 End as Active From YourTableName
bool YourBooleanVariable = Active == 0 ? false : true;
Active
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)