Adjusted internal git update database script for MS SQL