易截截图软件、单文件、免安装、纯绿色、仅160KB

通过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语句(2)

向表中添加一个新记录,你要使用SQL INSERT 语句。
这里有一个如何使用这种语句的例子:
INSERT mytable (mycolumn) VALUES (‘some data’)
这个语句把字符串’some data’插入表mytable的mycolumn字段中。将要被插入数据的字段的名字在第一个括号中指定,实际的数据在第二个括号中给出。
I ......

Linq to SQL Like Operator(转载)


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 ......

Java调用SQL Server的存储过程详解

1使用不带参数的存储过程
  使用 JDBC 驱动程序调用不带参数的存储过程时,必须使用 call SQL 转义序列。不带参数的 call 转义序列的语法如下所示:
  
以下是引用片段:
{call procedure-name}
  作为实例,在 SQL Server 2005 AdventureWorks 示例数据库中创建以下存储过程:
  
以下是引用片段: ......

SQL 取n到m条记录

1.
select   top   m   *   from   tablename   where   id   not   in   (select   top   n   id   from   tablename)
2.
select   top & ......

用SQL语句从aspnet_profile表里取用户的Profile值

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 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号