內容簡介
超過260頁內容涵蓋從SQL2005 ~ SQL2019版本,超過60個TSQL實戰問題和解法(附Scripts)
作者介紹
連續8年當選微軟最有價值專家,業界實務經歷超過10年,撰寫技術部落格超過14年,至今依然協助企業帶領技術研發團隊並將商業價值完美落地。
擅長使用.NET/NetCore 技術開發 Web/OLTP 系統,並熟悉分散式架構設計實作、程式碼重構和效能調校,也熟悉SQL Server應用開發、架構設計、效能調校和管理,幫助許多企業從無到有規劃設計並開發核心系統、核心系統架構改造升級、核心系統效能調校,並針對企業開發人員或DBA進行教育訓練,也擁有多年大型資料庫效能調校教學經驗。
曾任企業資深架構師、RD經理、技術經理、資深研發工程師、專案經理、資深技術顧問、資深DBA,微軟 SQL Server 研討會講師、Udemy線上講師、SQL Pass社群講師、RunPC(CIO前身)技術專欄作家。
可以透過下列管道得知作者最新動態
個人部落格 :
目錄
1. 找出sql statement所對應的執行計畫... 7
6. 匯出Store Procedure內容並存成檔案... 19
7. 利用BLUK INSERT讀取Txt檔案匯入Table. 23
9. 如何在Store Precedure 同時使用 Cursor 和動態SQL. 29
10. 解決 UNPIVOT 清單中的資料行類型衝突... 31
11. datetime2. 35
12. 日期和時間函數... 37
15. 如何計算累加值... 47
16. 如何取得一週的資料... 58
17. 動態 Pivot. 60
18. TSQL 新特性(上) 62
19. TSQL 新特性(下) 73
20. 建立唯讀資料表... 83
24. 判斷檔案是否存在... 92
26. 資料表值函數(1) 94
27. 查詢 Partition Table 相關資訊... 96
28. 填補字元... 100
30. 如何將sp_spaceused資料匯入Table. 103
31. 建立 Trigger For Update. 103
33. 輸出資料表類別... 106
35. 查詢 Store Procedure 使用情況... 108
36. 查詢比對 SQL Server 登入密碼... 112
37. 查詢連續資料... 113
38. 刪除自動建立統計值... 115
39. 多筆資料變單筆資料... 115
41. 找出連續或缺少資料... 120
42. 產生順序GUID.. 123
43. String.Split Function.. 124
46. Like in.. 130
47. 取得資料表讀寫計數... 131
54. SQL2016-管理session context. 154
56. SQL2016-取得個別session等待統計資料... 161
61. SQL2016-Columnstore Indexes增強(1) 188
62. 使用 sp_executesql 取代 exec. 190
63. sleeping process was not mean no resource holding.. 192
64. Awesome ALL,SOME &ANY.. 196
66. should I need to use Top 1 with an Exists in subquery. 211
67. Native Compilation Advisor. 219
68. how to prevent multiple user run SP at the same time. 223
69. Talking about XACT_ABORT. 225
70. Cant raise error into catch block of .net when you use the output clause. 233
71. comparison of In-memory OLTP differences between SQL2016 and SQL2017. 236
72. Tiny format's problem... 239
74. Let's start SQL Server Graph Database. 245
75. Querying Data in a Graph Database. 254
76. Avoid use not operator in where clause. 255
77. 資料表旋轉需求... 259
78. Database Engine New Features In SQL2019. 262
79. Call WebAPI from SQL Server. 265
80. Set Variable Got Wrong In Update ?. 269
81. Duplicate Values in identity columns. 275
82. Using RowCount In Right Way. 278
83. Get All SP with ParameterDetails. 280