安装 SQL Server 2008 需要 Windows PowerShell

 

首先,在微软的 Express 官方下载页面,已经可以下载到包含工具包的 SQL Server 2008 Express 版本。根据官方的解释,SQL Server 2008 Express 有三个发行版本:

  • SQL Server 2008 Express
    • SQL Server database engine - create, store, update and retrieve your data
  • SQL Server 2008 Express with Tools
    • SQL Server database engine - create, store, update and retrieve your data
    • SQL Server Management Studio Basic - visual database management tool for creating, editing and managing databases
  • SQL Server 2008 Express with Advanced Services
    • SQL Server database engine - create, store, update and retrieve your data
    • SQL Server Management Studio Basic - visual database management tool for creating, editing and managing databases
    • Full-text Search - powerful, high-speed engine for searching text-intensive data
    • Reporting Services - integrated report creation and design environment to create reports


如果大家和我一样,不喜欢使用 SQLCMD 来管理数据库,可以选择后两个安装版本的任意一个。对于我来说有 SSMS(SQL Server Management Studio)管理器就够了。注意:SSMSE for 2008 仍然没有发布,相信会很快发布的。关注 SSMSE 2008

下载得到一个自解压的安装包,双击它会自动解压并执行其中的 Setup.exe 安装程序。在安装程序进行系统检测时会产生一个“失败”,找不到 Windows PowerShell 组件。

 

老实话,我也不知道 Windows PowerShell 为何物,是 Windows Server 2008 的东西吗?不清楚。从《使用 Windows PowerShell 进行请求/响应测试》这篇文章里了解到,Windows PowerShell 似乎是类似 Windows 脚本宿主的工具,通过它,还能够调试 ASP.NET 应用程序。后来我在《使用 Windows PowerShell 实现 Web UI 自动化》一文中找到这样一段话:

Windows PowerShell(TM) 是一种新型 Microsoft 命令外壳和脚本语言,可用作多种轻型测试自动化的平台。在本月的“测试运行”专栏中,我将向您展示如何使用 Windows PowerShell 通过自动化 Internet Explorer® 为所有类型的 Web 应用程序创建快捷简便的 UI 测试自动化。本专栏主要针对初学者,但是经验丰富的工程师也能在此找到一些感兴趣的信息。

它的界面像本篇日志的第一个图那样,又见“蓝天白云”,呵呵。我们可以从在线 MSDN 中搜索到 Windows PowerShell 的信息,那里还能找到在不同 Windows 版本中的下载安装页面。为了方便大家下载 Windows PowerShell,我列出几个操作系统的下载链接:

用于 Windows XP 的 Windows PowerShell 1.0 本地化安装程序包 (KB926140)用于 Windows Server 2003 的 Windows PowerShell 1.0 本地化安装程序包 (KB926140)用于 Windows Vista 的 Windows PowerShell 1.0 安装程序包 (KB928439)在下载过程中,可能需要进行 Windows 正版验证。安装完成后还可能要在线更新下 Windows 系统,得到必要的组件。
在 Windows 开始菜单中打开 Windows PowerShell,可以输入 help 可看它支持的命令好多啊=__=!
自己看着用吧,然后再安装 SQL Server 2008 就可以了。

原文地址 : http://hi.baidu.com/wingingbob/item/f3280c0d374e5bce74cd3c59

原文地址:https://www.cnblogs.com/drinkoJam/p/2922806.html