摘要: 详情: http://www.cnblogs.com/rush/archive/2012/03/27/2420246.html#lb1感谢博主的分享! 阅读全文
posted @ 2012-10-24 22:37 RY一步一个脚印 阅读(145) 评论(0) 推荐(0)
摘要: 详情: http://www.cnblogs.com/lzrabbit/archive/2012/04/21/2460978.html感谢博主的分享! 阅读全文
posted @ 2012-10-24 17:25 RY一步一个脚印 阅读(140) 评论(0) 推荐(0)
摘要: 1. 只是查看执行时间 set statistics time ongo--放入你要执行的语句goset statistics time off2. 还要查看更多信息:set statistics profile onset statistics io onset statistics time ongo--放入你要执行的语句goset statistics profile offset statistics io offset statistics time off 阅读全文
posted @ 2012-10-24 12:12 RY一步一个脚印 阅读(196) 评论(0) 推荐(0)
摘要: 转自: http://blog.163.com/liufupanhao@126/blog/static/128465170201111210446407/感谢博主的分享!1、数据类型转换: (1)两种转换场合: A:当两个结果集之间的数据进行比较或联和(union)的时候,如果两个结果集的数据类型不同时必须进行转换。 B:将Transact-SQL 得结果集返回给程序中的变量时,须将结果集的类型从SQL Server数据类型转换为变量的数据类型。 (2)两种转换方式: A:自动进行的隐性转换(对于用户是不可见的)。 如:一个 smallint 变量和 int 变量比较时,将smallin... 阅读全文
posted @ 2012-10-24 11:42 RY一步一个脚印 阅读(8738) 评论(0) 推荐(0)