Changed DB Scripts from SQLSRV to MySQL compatible