摘要:
SQL Server行列转换隐藏group Pivot有一个隐藏的Group 分组, 除了Pivot column 和value列,其他列作为分组 Example: IF NOT EXISTS(SELECT * FROM sys.tables where name = 'Pivot_test') C 阅读全文
摘要:
http://www.scarydba.com/2011/06/15/rebind-and-rewind-in-execution-plans/ Ever looked at an execution plan? If you answered no, you can’t possibly have 阅读全文
摘要:
when set viable to number type in cmdexample: set /a num=0833echo %num%display: Invalid number. Numeric constants are either decimal (17),hexadecimal ... 阅读全文
摘要:
简介merge join 对两个表在连接列上按照相同的规则排序,然后再做merge,匹配的输出。下面这个动态图展示了merge join的详细过程。merge join示例创建两个表IF OBJECT_ID('dbo.Tbl10') IS NOT NULL DROP TABLE dbo.Tbl10;... 阅读全文