通过HTTP访问SQL Server Analysis Service 2005
目的:通过HTTP访问MS SSAS 2005
配置方法:
如果想访问对应的cube,则需指定cube所在的服务器名称
使之可以通过HTTP协议进行访问,可以返回MDX查询所得到的结果集和元数据
查询结果集的方法是:Execute(),它能够返回MDX语句的查询结果
查询结果集元数据方法:Discover(),它能够返回MDX语句的元数据信息。该方法较Execute复杂
需要在访问的服务器上进行配置。
配置方法见微软官方介绍:
http://technet.microsoft.com/en-us/library/cc917711.aspx
相关文档:
向表中添加一个新记录,你要使用SQL INSERT 语句。
这里有一个如何使用这种语句的例子:
INSERT mytable (mycolumn) VALUES (‘some data’)
这个语句把字符串’some data’插入表mytable的mycolumn字段中。将要被插入数据的字段的名字在第一个括号中指定,实际的数据在第二个括号中给出。
I ......
As a response for customer's question, I decided to write about using Like Operator in Linq to SQL queries.
Starting from a simple query from Northwind Database;
var query = from c in ctx.Customers
where c.City == "London"
&nbs ......
1使用不带参数的存储过程
使用 JDBC 驱动程序调用不带参数的存储过程时,必须使用 call SQL 转义序列。不带参数的 call 转义序列的语法如下所示:
以下是引用片段:
{call procedure-name}
作为实例,在 SQL Server 2005 AdventureWorks 示例数据库中创建以下存储过程:
以下是引用片段:
......
1.
select top m * from tablename where id not in (select top n id from tablename)
2.
select top & ......
The aspnet_Profile table contains the following fields: UserId, PropertyNames, PropertyValuesString, PropertyValuesBinary, and LastUpdatedDate. The PropertyNames field contains a string delimited with colons (:) that identify which profile fields are stored, what their datatype is and their of ......