fix sql cmd in function SendToAvlsEventColumnSetNegativeOneIfPowerOff