摘要:
我们开启执行计划来看sql语句的执行效率,看下索引是否使用等 但是执行计划没有告诉我们执行时间,刚刚看了一个代码,可以自己计算执行时间的 Declare @d Datetime Set @d=getdate() select IDfrom Taskinfo order by NEWID()Selec 阅读全文
摘要:
一、union 与union all select PropID,PropName from V2DB_MatchCenter..[Game.Prop] where PropID>0Union select ProductID,ProductName from ProductInfo select 阅读全文
摘要:
/* 一、首先创建数据库*/if exists(select 1 from sys.sysdatabases where name='web_1')begin drop database web_1endcreate database web_1 on PRIMARY( NAME = web, FI 阅读全文