none
windows server 2008 数据库执行按钮为灰色,不能执行SQL语句 RRS feed

全部回复

  • 你好,

    可能是因为你没选中SQL 语句,你可以试试选择SQL 语句以后,看看执行键是否可用?

    另外能否告知你用的是什么方式连接的SQL Server? Windows认证或者SQL server账户认证?


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.


    2020年1月15日 5:52
  • 用的是windows身份验证登录,如何选中语句
    2020年1月15日 6:06
  • 你可以尝试对SQL Server进行修复:

    找到Setup.exe然后执行》》单击“维护”》》单击“修复”,然后应该就好了


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.


    2020年1月15日 6:25
  • Setup.exe默认路径是什么?
    2020年1月15日 6:43
  • 应该是你下载的默认的路径SQL Server2008安装包里面的Setup.exe,如果找不到的话,也可以用下面的方法:

    1. 开始》》SQL Server 2008》》配置工具》》SQL Server安装中心》》维护》》修复



    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.


    2020年1月15日 6:48
  • 还是要输入路径
    2020年1月15日 6:54
  • 需要选择路径的话,基本就行不通,你还可以

    控制面板》》程序和功能》》找到SQL Server2008卸载》》然后选择修复

    另外想问一下,你是否一定需要使用SQL Server2008?SQL Server2008其实已经不再支持了,如果不是必须的,建议你使用较新版本的SQL Server


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.


    2020年1月15日 7:33
  • 控制面板也试过,也是提示安装媒体。
    2020年1月15日 7:57
  • 你直接下载一个吧,注意一下你的版本

    SQL SERVER 2008 Express

    SQL SERVER 2008 R2 Express



    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.


    2020年1月15日 8:01
  • 你好,

    请问您的问题解决了吗?
    如果您使用我们的解决方案解决了该问题,请帮忙‘Mark as Answer'以帮助其他社区成员迅速找到有用的答复。
    如果没有,请回复并告诉我们当前情况,以便提供进一步的帮助。


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    2020年1月21日 2:54
  • 点新建查询新建一个窗口也是这样么?
    2020年1月22日 0:53