SQLSERVER SELECT(zt)
今天查询SQLSERVER的HINTS的时候找到的文档,写得比较详细,记录一下。http://www.cndw.com/tech/data/2006041339438.asp本节讲述SELECT 语句完整的语法结构,这是一个非常冗长、枯燥的过程。读者可以跳过本节,从第...
SCOPE_IDENTITY、IDENT_CURRENT 和 @@IDENTITY(zt)
SCOPE_IDENTITY、IDENT_CURRENT 和 @@IDENTITY的比较 create table test(id int identity(1,1),mc varchar(20))insert into test(mc) values('aaaaa')select @@identity,ident_current('TEST')SQL Server 2000中,有...
Microsoft SQL Server 2005中查询优化器使用的统计信息二(zt)
Microsoft SQL Server 2005中查询优化器使用的统计信息二(zt)-- 在firstname和lastname列上创建统计信息CREATE STATISTICS FirstLast ON Person.Contact(FirstName,LastName)GO-- 显示表上现在有三个统计信息对象sp_...
sqlserver kill long time lock
All:I have finished a simple program to kill long time lock and passed test,If anyone need it,Pls kindly test it and then deploy it,we can get some part of this to combine with our existing BlockingDe...
SQL优化器探讨(zt)
SQL优化器探讨 多年以来,商业数据库生产商一直致力于提高数据库的查询性能。尽管他们持续地付出努力和辛勤地工作,我们还是无法看到关系型数据库系统(RDBMS)在性能上有显著的提高。用户继续忍受性能低下的SQL...
sqlserver doc
http://gallery.technet.microsoft.com/scriptcenter/site/search?f%5B0%5D.Type=Tag&f%5B0%5D.Value=SQL%20Server%202005&sortBy=Popularity http://www.microsoft.com/china/msdn/library/data/sqlserver/s...