Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个myDatabase.sql我创建的数据库的 SQL 脚本。我将如何在 SQL Server Management Studio 中运行此脚本以在那里创建我的数据库?我可以打开它并在程序中运行它还是我必须先做任何事情?
myDatabase.sql
是的,那会奏效。或者您可以使用文本编辑器打开它,然后将内容复制粘贴到您的 DBMS 中并运行它!