Fix issues in Oracle and MS SQL db script files