Copy both files to the SQL Server and then perform the following steps:
- Open the SQL Server Management Studio.
- From the File menu, click the Open option. Then, click File (Ctrl + O).
- Browse to the CreateDB.sql script and open it.
- From the Query menu, click the Execute (F5) option.
- From the File menu, click the Open option. Then, click File (Ctrl + O) again.
- This time, browse to the SetPermissions.sql script and open it.
- From the Query menu, click the Execute (F5) option.