问题标签 [sql-server-2008]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
6 回答
7385 浏览

sql-server-2005 - 有什么理由在同一台机器上安装 SQL Server 2005 和 2008?

我正在设置一个新的开发服务器并想安装最新版本的 SQL Server 2008 Express。

我们现有的 sql2005 数据库是否可以在不修改的情况下与 2008 一起使用?如果是这样,是否有任何理由将两个版本安装在同一台服务器上?

0 投票
3 回答
6143 浏览

sql-server-2005 - SQLExpress 2005 和 2008 可以毫无问题地安装在同一台机器上吗?

我想将 SQLExpress2005 安装为实例“SQLExpress”,并将 SQLExpresss2008 安装为“SQLExpress2008”实例。

在同一台机器上这样做有什么问题吗?

0 投票
1 回答
484 浏览

sql-server-2008 - SQL 2008 中的新日期/时间数据类型

我正在尝试在 SQL 2008 中使用新的 DATETIMEOFFSET 数据类型,但我不知道如何让 DATETIMEOFFSET '2008-09-27 21:28:17.2930000 -07:00' 显示为 '2008-09-27 14:28:17.2930000'(基本上应用偏移量来显示当地时间)。

有谁知道如何做到这一点?

0 投票
2 回答
1023 浏览

sql-server - 将 Reporting Services 2005SP2 连接到 SQL Server 2008

我正在尝试在另一台托管 ReportServer DB 的机器上使用 SQL 2008 配置 Reporting Services 2005SP2。

当我创建 ReportServerDB 时,数据库被创建为版本 C.0.9.45:

之后,当我尝试初始化 Reporting Services 时,我收到有关版本号不正确的错误消息。Reporting Services 创建了 ReportServer DB 版本 C.0.9.45,但现在需要版本 C.0.8.54。

更改数据库的兼容性设置没有效果。并且更改数据库中的版本号 sproc 以返回 Reporting Services 想要听到的内容,只会延迟崩溃,直到初始化开始。

有任何想法吗?

0 投票
8 回答
4440 浏览

sql - How to handle a lot of flags for a SQL record

I need advice on how to handle relatively large set of flags in my SQL2k8 table.

Two question, bear with me please :)

Let's say I have 20 flags I'd like to store for one record.

For example:

CanRead = 0x1 CanWrite = 0x2 CanModify = 0x4 ... and so on to the final flag 2^20

Now, if i set the following combination of one record: Permissions = CanRead | CanWrite

I can easily check whether that record has required permission by doing WHERE (Permissions & CanRead) = CanRead

That works.

But, I would also like to retrieve all records that can either write OR modify.

If I issue WHERE (Permissions & ( CanWrite | CanModify )) = (CanWrite | CanModify) i obviously won't get my record that has permissions set to CanRead | CanWrite

In other words, how can I find records that match ANY of the flags in my mask that i'm sending to the procedure?

Second question, how performant is in in SQL 2008? Would it actually be better to create 20 bit fields?

Thanks for your help

0 投票
1 回答
1980 浏览

sql-server-2008 - SQL 2008 CTP 卸载后 SSAS 多维数据集浏览不起作用

我已经并行安装了 SQL 2005 和 2008 CTP,没有任何问题。

最近在过期后卸载了 CTP,现在每当我尝试在 SSMS 2005 或 VS 2005 中浏览分析服务多维数据集时,都会收到以下错误:

由于以下错误,检索具有 CLSID {C4F9B80B-89F7-4800-9C26-504D6E692B2C} 的组件的 COM 类工厂失败:80040154。

我尝试重新安装 Office Web Components,但没有任何区别。我还安装了 SQL 2008 SSMS RTM,这对 VS 或 SSMS 2005 没有任何影响。

当我尝试从 SSMS 2008 RTM 浏览时,我收到此错误:

无效的类字符串(来自 HRESULT 的异常:0x800401F3 (CO_E_CLASSSTRING))

有人有想法么?

谢谢

麦克风

0 投票
2 回答
1686 浏览

asp.net - 如何在 ASP.Net 中使用 SQL Server 2008 的数据挖掘功能

如何在 ASP.Net 中使用 SQL Server 2008 的数据挖掘功能

0 投票
3 回答
6014 浏览

sql-server-2008 - 如何为 SQL Server 2008 Reporting Service 报告注册 Web 参考?

我正在尝试通过我的 Visual Studio 2008 应用程序中的 Web 服务访问报告服务。如何/在哪里可以找到我的 WSDL?

0 投票
5 回答
22452 浏览

sql-server - 安装问题sql server 2008

我可能应该将此用于论坛,但认为这里的某人可能知道答案。我正在尝试在家用 vista 机器上安装 sql server 2008,但每次检查以确保满足先决条件时,它都会一直告诉“重新启动计算机失败”。我重新启动了计算机,甚至卸载/安装了 .net 3.5 sp1。
我发现的唯一线程是:http ://forums.microsoft.com/msdn/showpost.aspx?postid=3656807&siteid=1&sb=0&d=1&at=7&ft=11&tf=0&pageid=1

该论坛上的最后一篇文章指出,有一种方法可以“强制”(使用命令提示符)有一种方法可以绕过重新启动检查。

有谁知道可以使用哪些命令绕过重新预订检查?

0 投票
1 回答
20107 浏览

sql-server-2005 - 将 SSIS 包从 SQL Server 2005 迁移到 2008 时要记住什么?

将 SQL Server 集成服务包从 SQL Server 2005 DB 移动/导出到 2008 的最佳做法是什么?

有哪些安全问题?