fix sql server script: set boolean