Search code examples
sql-serverssmsjavax.script

File with .SCRIPT extension - Not running in SQL


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??


Solution

  • You need to associate a file extension with SSMS Editor.

    enter image description here