How to create DB in SQL Express using SQL commands

2019-07-31 13:16发布

I am reading a book on SQL and it gives me scripts to run to create a database. But I have only SQL Express 10, which doesn't look like has tools to run SQL commands. Is there any way to run the scripts?

2条回答
叼着烟拽天下
2楼-- · 2019-07-31 14:09

Download Microsoft® SQL Server® 2008 Management Studio Express, it has the tools to run queries and scripts.

Make sure you download the 2008 one for SQL Express 10 (the one in my link), the 2005 will not connect to your SQL Express.

查看更多
放我归山
3楼-- · 2019-07-31 14:16

K, I'm going to provide the answer for this even though it was in the comments above so it can be closed (not sure if there's a way to close an unanswered question):

There is SQL Management Studio Express http://www.microsoft.com/DownLoads/details.aspx?familyid=C243A5AE-4BD1-4E3D-94B8-5A0F62BF7796&displaylang=en – THEn

Also SQLCMD - a command line tool : http://msdn.microsoft.com/en-us/library/ms165702.aspx – Dave Cluderay

查看更多
登录 后发表回答