SQL script for hotfix