File with .SCRIPT extension - Not running in SQL

100 views Asked by At

I have a file named "CreateDatabase1.script". I want to create a database from this file but this file is not executable in SQL Server management studio. How can I run this file and create this database??

1

There are 1 answers

0
Subodh Wasankar On BEST ANSWER

You need to associate a file extension with SSMS Editor.

enter image description here