How to create DB in SQL Express using SQL commands?
I am reading a book on SQ开发者_Go百科L 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?
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
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.
精彩评论