- 博客(19)
- 资源 (19)
- 收藏
- 关注
原创 sql server常用函数(面试必背!)
1,统计函数 avg, count, max, min, sum 多数聚会不统计值为null的行。可以与distinct一起使用去掉重复的行。可以与group by 来分组 2, 数学函数 SQRT ceiling(n) 返回大于或者等于n的最小整数 floor(n), 返回小于或者是等于n的最大整数 round(m,n), 四舍五入,n是保留小数的位数 abs(n) sig
2007-11-30 10:06:00 676
转载 Sql Server 2005新特性《3》
业系统互通。 XML 数据类型 XML能够比SQL Server所支持的那些标量数据类型更好的对复杂数据进行建模。基于字符串的内置数据类型char 或者是varchar并不能够充分有效的利用XML数据的大量优点。举例来说,如果XML被存储为一个字符串,那么你可以插入或检索整个XML文档,甚至能够从中检索连续的字符,但你不能定位查询文档中内容。通过XML数据类型,SQL Server 2
2007-11-29 22:21:00 612
转载 SQL Server 2005新特性《4》
的用户群体延伸至那些需要使用分析功能的商务用户。Reporting Services 是一种企业级报表环境,它通过 web 服务进行报表嵌入和管理。您可以用大量的交互和打印选项,以各种不同的格式个性化设置和提交报告。通过将报告以数据源的形式分发至下游商务智能,复杂分析可以覆盖更广泛的受众。SQL Server 2005 还提供了新的报表工具: Report Builder。 管理:SQL Ser
2007-11-29 22:21:00 654
转载 Sql Server 2005新特性《2》
以利用多种他们熟悉的语言来开放数据库应用程序,包括: Transact-SQL, Microsoft Visual Basic? .NET, Microsoft Visual C#? .NET。此外,通过使用用户定义类型和函数,CLR集成也为开发人员提供了更多的灵活性。 CLR 为快速数据库应用开放提供了使用第三方代码的选择。 CLR/.NET Framework 集成 随着Micro
2007-11-29 22:18:00 537
转载 Sql Server 2005新特性《1》
一、企业级数据管理 在当今的互联世界中,数据和管理数据的系统必须始终为用户可用且能够确保安全,有了SQL Server 2005,组织内的用户和IT专家将从减少应用程序宕机时间、提高可伸缩性及性能、更紧密的安全控制中获益。SQL Server 2005 也包括了很多新的和改进的功能来帮助企业的IT团队更有效率的工作。SQL Server 2005 包括了几个在企业级数据管理中关键的增强:
2007-11-29 22:14:00 816
转载 创建有root和子节点的IDictionary object
IDictionary rootMap = new Hashtable(); IList items = new ArrayList(); IDictionary itemMap = null; rootMap.Add("items", items); rootMap = new Has
2007-11-23 16:34:00 596
原创 如何写GetInstance()
class A { private static A a=null; private A() { } public A GetInstance() {
2007-11-23 16:08:00 932
转载 Avoiding configuration pitfalls with incompatible copies of Enterprise Library
When you install Enterprise Library 3.0, you actually get two distinct copies of the library. One copy is in the form of pre-compiled binaries - by default these get installed to "C:/Program Files/M
2007-11-22 13:09:00 780
转载 Exception Handling using Enterprise Library
Introduction:Every now and then we need to catch exceptions and perform actions on that exceptions. If you have noticed there is always a common pattern in handling exceptions and than recoveri
2007-11-19 11:58:00 744
转载 Enterprise Library: Exception Handling Application Block类设计分析
Exception Handling Application Block设计用来完成企业级应用程序各层中异常处理。***Exception Handling Application Block依赖项Enterprise Library中的所有Application Blocks设计用于相互联合使用。有时,有些Application Blocks依赖于其他Enterprise Libra
2007-11-19 11:09:00 1109
转载 (创建型模式)Singleton 单件模式
Singleton模 式要求一个类有且仅有一个实例,并且提供一个全局的访问点。这就提出了一个问题:如何绕过常规的构造器,提供一种机制来保证一个类只有一个实例?客户程序 在调用某一个类时,它是不会考虑这个类是否只能有一个实例等问题的,所以,这应该是类设计者的责任,而不是类使用者的责任。从另一个角度来说,Singleton模式其实也是一种职责模式。因为我们创建了一个对象,这个对象扮演了独一无二的角
2007-11-19 10:49:00 598
转载 Sql server中的Cursor
有时候我们需要逐条地读取数据,就像下面这样:this.sqlConnection1.Open();SqlDataReader myReader = this.sqlCommand1.ExecuteReader();do{while (myReader.Read()) {Console.WriteLine(" {0} {1}", myReader.GetInt32(0), myRe
2007-11-14 13:32:00 2779
原创 视图view和临时表的区别
视图只是一条预编译的SQL语句,并不保存实际数据 临时表是保存在tempdb中的实际的表(物理空间的分配不一样,视图不分配空间, 临时表会分配空间 )
2007-11-14 10:44:00 2822
原创 不创建表结构,直接放入临时表结果(包括存储过程,直接sql语句)
首先介绍一下临时表的分类:临时表有两种 1,加#只有该会话可见,并且该会话结束后SQL SERVER自动删除 2,加##全局。所有会话结束后SQL SERVER 删除它 全局临时表 ##tablename 可以由任何进程访问。 所以要在asp中使用临时表,就要使用全局临时表,把你的存储过程中的局部临时表改成全局就可以。但临时表确实存在生存周期短的问题
2007-11-14 10:40:00 5905
转载 带#的临时表和带@的表有什么区别
以下为代码部分: declare @test table(id int , name varchar(10)) create table #test(id int , name varchar(10)) @test也算是临时表吗,和#test有什么区别 我发现的一点是@test不能在上面建索引而#test能
2007-11-14 10:31:00 1082
原创 exec stored procedure return value
本文很简单,在实际操作中发现我定义了一个变量,然后存在一个stored procedure可以返回一个数值,我想把这个数值存放到我定义的变量中。然后再baidu里面搜索了,找了10分钟都没有找到结果,可能是太简单了大家不想写吧。希望我写出来,以后方便更多的后来者能很方便的搜索到DECLARE @variable INTEXEC @variable = PRINT @variable
2007-11-13 15:46:00 869
原创 什么叫强类型
强/弱类型是指类型检查的严格程度的。语言有无类型,弱类型和强类型三种。无类型的不检查,甚至不区分指令和数据。弱类型的检查很弱,仅能严格的区分指令和数据。强类型的则严格的在编译期进行检查List 泛型类:表示可通过索引访问的对象的强类型列表。提供用于对列表进行搜索、排序和操作的方法。举个例子比如javascript定义一个对象时是这样定义的var str;str=as
2007-11-11 11:27:00 1132
转载 How To: Use Windows Authentication in ASP.NET 2.0
SummaryThis How To shows you how to configure and use Windows authentication in an ASP.NET Web application. It also shows various impersonation options available with Windows authentication and h
2007-11-09 16:56:00 1793
原创 web.config authentication
ASP.NET 提供了一些新型的Authentication 和 Authorization 方案,对于开发人员来说这将是和以前不同的一种方式。 可喜的是ASP.NET提供的方案多样更加灵活;可惜的是这种方案是基于IIS的。我知道,有些人并不喜欢IIS,认为它容易受攻击。只是一直不喜欢 ASP的方式,杂乱的HTML标记中夹杂着代码,难于维护也难于调试。现在有了新的解决方案,让我们看看。 新型
2007-11-09 11:39:00 6411 1
毕马威:2024中国消费50白皮书报告(第三届)(130页).pdf
2024-02-21
Market Risk Analysis Volume I
2016-04-13
VS2008,VSTS,做压力测试,性能分析
2009-07-01
【经典】VS2008 柔黑色底主题,保护眼睛主题
2009-07-01
sharePoint安装完全手册
2008-10-28
Refactoring: Improving the Design of Existing Code
2008-10-28
Unit Testing with Mock Objects
2008-10-28
CodertoDeveloper--Tools and Strategies for Delivering Your Software
2008-10-28
MVP由浅入深(2)
2008-10-28
MVP由浅入深(1)
2008-10-28
万能日期正则表达式 (适用于各种日期样式)绝对经典
2008-01-10
Using Assemblies in Microsoft .NET and C# Using Assemblies in Microsoft .NET and C#
2007-11-22
Using Assemblies in Microsoft .NET and C#
2007-11-22
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人