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

How to create DB in SQL Express using SQL commands?(如何使用 SQL 命令在 SQL Express 中创建数据库?)

本文介绍了如何使用 SQL 命令在 SQL Express 中创建数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在阅读一本关于 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

这篇关于如何使用 SQL 命令在 SQL Express 中创建数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:如何使用 SQL 命令在 SQL Express 中创建数据库?