简体   繁体   English

SQL Server 2008 Management Studio Express的备用选项

[英]Alternate option for SQL Server 2008 Management Studio Express

I am trying to install SQL Server 2008 Management Studio Express found here , but I am getting a win32 not an application error. 我正在尝试安装此处找到的SQL Server 2008 Management Studio Express ,但我得到的是win32而不是应用程序错误。

Is there another option for managing Windows SQL Server databases other than Visual Studio? 是否有其他选项来管理Visual Studio以外的Windows SQL Server数据库? I just have to be able to log in to the server and run some test SQL like: 我只需要能够登录到服务器并运行一些测试SQL,如:

ALTER TABLE test ADD column VARCHAR(50)

Can you run that query in Visual Studio? 你可以在Visual Studio中运行该查询吗? If so that would solve the problem too. 如果是这样也可以解决问题。

There is the command line sqlcmd utility . 有命令行sqlcmd实用程序

The sqlcmd utility lets you enter Transact-SQL statements, system procedures, and script files at the command prompt, in Query Editor in SQLCMD mode, in a Windows script file or in an operating system (Cmd.exe) job step of a SQL Server Agent job. sqlcmd实用程序允许您在命令提示符,SQLCMD模式下的查询编辑器,Windows脚本文件或SQL Server的操作系统(Cmd.exe)作业步骤中输入Transact-SQL语句,系统过程和脚本文件代理工作。

Yes, you can run ad-hoc queries to a SQL Server database from Visual Studio. 是的,您可以从Visual Studio对SQL Server数据库运行即席查询。

Find/create a Data Connection in Server Explorer, right-click, and choose New Query. 在Server Explorer中查找/创建数据连接,右键单击,然后选择“新建查询”。

替代文字

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM