Translate TRUE to 1 in mssql