Add scripts for SQL Server and some adaptations