Added sql script

You will still have to relink the database. it's an old project.