如何使用 SQL 命令在 SQL Express 中创建数据库?

2021-09-10 00:00:00 sql tsql sql-server-2008 sql-server

我正在阅读一本关于 SQL 的书,它为我提供了运行脚本来创建数据库.但我只有 SQL Express 10,它看起来没有运行 SQL 命令的工具.有没有办法运行脚本?

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?

推荐答案

K,我将为此提供答案,即使它在上面的评论中,因此可以关闭(不确定是否有办法关闭一个未回答的问题):

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):

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

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

还有 SQLCMD - 一个命令行工具:http://msdn.microsoft.com/en-us/library/ms165702.aspx – Dave Cluderay

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

相关文章