SQL Sever 博客文章目錄(2016-07-06更新)


SQL Server方面的博客文章也陸陸續續的寫了不少了,順便也將這些知識點整理、歸納一下下。方便自己和他人查看。

 

MS SQL 數據類型

 

三大數據庫對比研究系列——數據類型

 

MS SQL 表和視圖

 

數據庫表的基本信息,你知道嗎?

數據查詢表,列名對比

MS SQL 建表SQL的腳本

查看數據庫、表、索引的物理存儲情況

慎用SELECT INTO復制表

 

MS SQL 索引約束

[翻譯] 聚集索引表 VS 堆表

SQL SERVER 中is null 和 is not null 將會導致索引失效嗎?

SQL SERVER中什么情況會導致索引查找變成索引掃描

 

MS SQL 死鎖阻塞

 

SQL Server 中WITH (NOLOCK)淺析

SQL SERVER錯誤:已超過了鎖請求超時時段。 (Microsoft SQL Server,錯誤: 1222)

 

MS SQL 的觸發器

MS SQL 函數介紹

 

SQL SERVER 的模糊查詢 LIKE

ROW_NUMBER () 與 PARTITION 組合妙用

DATEDIFF函數小問題

重溫SQL——行轉列,列轉行

SQL 2000自定義函數調用GETDATE()報錯

SQL SERVER特殊行轉列案列一則

 

MS SQL 存儲過程

SQL Server——存儲過程

 

MS SQL 動態SQL

 

動態SQL應用小列子

SQL Server ——動態SQL

 

MS SQL 鏈接服務器

 

MS SQL 錯誤:The operation could not be performed because OLE DB provider "SQLNCLI10" for linked server "test" was unable to begin a distributed transaction.

Linked Server: EXECUTE permission denied on object 'xp_prop_oledb_provider', database 'master', owner 'dbo'

SQL SERVER 2012鏈接到SQL SERVER 2000的問題解決案例

sp_addlinkedserver '(null)' is an invalid product name

SQL SERVER 2012/2014 鏈接到 SQL SERVER 2000的各種坑

SQL SERVER使用ODBC 驅動建立的鏈接服務器調用存儲過程時參數不能為NULL

 

MS SQL Reporting Serverices

 

遷移Reporting Services的方法與WMI錯誤

SQL SERVER 2008 Reporting Services 的一些小問題集合

SQL Server Reporting Services:無法檢索應用程序文件。部署中的文件已損壞

Reporting Service 服務啟動時報錯The service did not respond to the start or control request in a timely fashion

SQL Server 2008 標准版不支持Reporting Services的數據驅動訂閱

SQL Server 2012 The report server cannot open a connection to the report server database

數據庫服務器改名導致Reporting Service不可用的案例

SSRS Reports 2008性能優化案例

Reporting Services 錯誤案例一則

SSRS ReportServer Database 的Blocking問題

SSRS Reports 2008性能優化案例二

Reporting Service 告警"w WARN: Thread pool pressure. Using current thread for a work item"

SQL Server 2008 R2 升級到 Service Pack 3后Report Builder啟動不了

SSRS 2008 ReportServerTempDB增長異常分析

 

MS SQL 作業管理

 

SQL SERVER 作業淺析

SQL SERVER作業的Schedules淺析

SQL SERVER 2005刪除維護作業報錯:The DELETE statement conflicted with the REFERENCE constraint "FK_subplan_job_id"

作業配置規范文檔[MS SQL]

Unable to determine if the owner (Domain\UserName) of job JOB_NAME has server access

SQL SERVER 中如何用腳本管理作業

TCP Provider The semaphore timeout period has expired

 

MS SQL 連接會話

Provider:SSL Provider,error:0-等待的操作過時

 

MS SQL 命名規范

 

MS SQL開發命名規則

T-SQL 編碼標准【轉帖】

 

MS SQL 腳本美化

 

如何書寫優雅、漂亮的SQL腳本?

 

MS SQL 備份還原

 

Write on ……… failed: 112(failed to retrieve text for this error. Reason: 15105)

RESTORE detected an error on page (0:0) in database

Unable to open the physical file xxxx. Operating system error 2

DBCC CheckDB遇到a database snapshot could not be created

Database 'xxxx' is being recovered. Waiting until recovery is finished.

SQL Server 2008 master 數據庫損壞解決總結

 

MS SQL 郵件配置

xp_sendmail: 由於郵件錯誤 0x80004005 而失敗

SQL SERVER 2000通過鏈接服務器發送郵件出現錯誤

 

 

MS SQL 安裝配置

 

MS SQL 完全卸載數據庫

SQL Server數據庫專用管理員DAC連接方式

SQL Server 2008 篩選器報錯Microsoft.SqlServer.Management.Sdk.Sfc

SQL Server 2008 打SP1 補丁遇到的問題

XP系統無法運行SQL Server 2005企業版

Microsoft OLE DB Provider for ODBC 組件

You must use the Role Management Tool to install or configure Microsoft .NET Framework 3.5 SP1

sp_configure錯誤:不支持對系統目錄進行即席更新

SQL Server 2012安裝錯誤案例:Error while enabling Windows feature: NetFx3, Error Code: -2146498298

 

MS SQL 發布訂閱

 

SQL Server 復制需要有實際的服務器名稱才能連接到服務器

SQL Server 2008 R2的發布訂閱配置實踐

MS SQL 2008 發布訂閱配置錯誤總結

The process could not execute 'sp_repldone/sp_replcounters' on 'ServerName'

SQL SERVER Transactional Replication中添加新表如何不初始化整個快照

Replication-Replication Distribution Subsystem: agent xxxxxx failed. Column names in each table must be unique

SQL Server Replication 中關於視圖的點滴

SQL Server刪除distribution數據庫

SQL Server刪除distribution數據庫二

 

MS SQL 數據庫監控

 

MS SQL監控數據庫的DDL操作

MS SQL 監控數據/日志文件增長

MS SQL 監控磁盤空間告警

SQL Server 監控統計阻塞腳本信息

MS SQL 監控錯誤日志的告警信息

SQL SERVER 監控數據文件增長情況

 

數據庫性能調優

 

SQL性能調優實踐——SELECT COUNT

淺析SQL SERVER執行計划中的各類怪相

SQL Server 中VARCHAR(MAX)變量賦值引起的性能問題

SQL SERVER 2012 執行計划走嵌套循環導致性能問題的案例

SQL Server中的“最大並行度”的配置建議

SQL SERVER中關於OR會導致索引掃描或全表掃描的淺析

化繁為簡——分解復雜的SQL語句

SQL SERVER 臨時表導致存儲過程重編譯(recompile)的一些探討

SQL SERVER 2014 下IF EXITS 居然引起執行計划變更的案例分享

小心SQL SERVER 2014新特性——基數評估引起一些性能問題

SQL SERVER中用戶定義標量函數(scalar user defined function)的性能問題

SQL性能優化:如何定位網絡性能問題

 

數據庫管理維護

 

MS SQL 日常維護管理常用腳本(一)

MS SQL 日常維護管理常用腳本(二)

MS SQL 日志記錄管理

MS SQL 排序規則總結

MS SQL 數據庫狀態為SUSPECT的處理方法

MS SQL 模仿ORACLE的DESC

MS SQL 批量給存儲過程/函數授權

SSMS 2005 連接 SQL SERVER 2008問題

MS SQL 事物日志傳送能否跨數據庫版本嗎?

計算機改名導致數據庫鏈接的詭異問題

SQL模板資源管理器,你用了嗎?

There is insufficient system memory to run this query 錯誤

SQL SERVER 表最小行的一個糾結問題

MS SQL 挑戰問題

MS SQL數據庫服務介紹

MS SQL 遷移數據庫文件

MS SQL修改數據庫名稱

MS SQL 能否修改實例名稱

MS SQL 需要定期清理日志文件

MS SQL專用管理員連接DAC

MS SQL 統計信息淺析上篇

MS SQL統計信息淺析下篇

SQL SERVER出現大量一致性錯誤的解決方法

SQL SERVER 2000  遷移后SQL SERVER代理服務啟動錯誤分析

SQL SERVER修改排序規則——腳本篇

SQL Server解決孤立用戶淺析

SQL SERVER 2008:內部查詢處理器錯誤: 查詢處理器在執行過程中遇到意外錯誤

如何轉換SQL Server 2008數據庫到SQL Server 2005

如何查看Windows服務器運行了多長時間

SQL Server修改數據庫對象所有者(Owner)淺析

SELECT CAST(GETDATE() AS VARCHAR(10)) 顯示不同格式的原因

Cannot set a credential for principal 'sa'. (Microsoft SQL Server,錯誤: 15535)

SQL SERVER如何通過SQL語句獲服務器硬件和系統信息

SQL SERVER導入數據到ORACLE的方法總結

SQLBackupAndFTP The server principal "NT AUTHORITY\SYSTEM" is not able to access the database "xxxx"

SQL SERVER CHAR ( integer_expression )各版本返回值差異的案例

SQL SERVER普通用戶需要什么權限才能執行sp_configure命令

SQL Server里面如何檢查沒有釋放的游標

SQL SERVER導出特殊格式的平面文件

查看數據庫表的數據量和SIZE大小的腳本修正

SQL Server 關於列的權限控制

 

MS SQL 版本問題

 

SQL SERVER 2008數據庫各版本功能對比

SQL Server 2008 R2 Service Pack 3 已經發布

 

 

MS SQL 巡檢系列

MS SQL巡檢系列——檢查數據庫上一次DBCC CHECKDB的時間

 

MS SQL 等待事件

SQL SERVER中的OLEDB等待事件

 

MS SQL 錯誤匯總

 

SQL 2005/2008 連接SQL 2000報18456錯誤

MS SQL 錯誤 :17883,嚴重度: 1,狀態: 0

Cannot create an instance of OLE DB provider "OraOLEDB.Oracle" for linked server "xxxxxxx".

MS SQL 錯誤:無法綁定由多個部分組成的標識符 "xxxxx"

MS SQL  Could not obtain information about Windows NT group/user 'domain\login', error code 0x5. [SQLSTATE 42000] (Error 15404)

MS SQL錯誤:SQL Server failed with error code 0xc0000000 to spawn a thread to process a new login or connection. Check the SQL Server error log and the Windows event logs for information about possible related problems

Database 'xxx' cannot be upgraded because it is read-only or has read-only file Make the database or files writeable, and rerun recovery.

Attempt to fetch logical page (...) in database 2 failed. It belongs to allocation unit xxxx not to xxx

 

MS SQL 翻譯文章

 

[翻譯]為什么你不要收縮數據庫文件

[翻譯]當分發數據庫增長到25G時如何解決

[翻譯]——SQL Server使用鏈接服務器的5個性能殺手

 

YourSQLDba學習總結

 

YourSQLDba介紹

YourSQLDba 配置——修改備份路徑

YourSQLDba將數據庫置於緊急模式的原因淺析

殺毒軟件導致YourSQLDba備份失敗

YourSQLDba開源項目發布到codeplex網站了

YourSQLDba備份失敗案例錦集

YourSQLDba版本升級總結

YourSQLDba設置共享路徑備份

 

SQL SERVER 2012學習

 

SQL SERVER 2012 修改數據庫默認位置不立即生效

SQL SERVER 2012 從Enterprise Evaluation Edtion 升級到 Standard Edtion SP1

Win7 安裝SQL SERVER 2012需要SP1補丁

SQL SERVER 2012啟動失敗 because upgrade step 'SSIS_hotfix_install.sql' 失敗

 

SQL SERVER Troubleshooting

 

虛擬機備份克隆導致SQL SERVER 出現IO錯誤案例

SSRS 2008 R2 錯誤:Timeout expired. The timeout period

消息 8134,級別 16,狀態 1,第 1 到以零作除數錯誤

Error: 9001, Severity: 21, State: 5 The log for database 'xxxx' is not available

服務器重啟后SQL Server Agent由於"The EventLog service has not been started" 啟動失敗

SQL SERVER 重組含有特殊字符的索引時遇到“關鍵字 'with' 附近有語法錯誤.”

Could not obtain information about Windows NT group/user 'xxxx\xxxx', error code 0x5

在執行xp_cmdshell的過程中出錯,調用'LogonUserW'失敗,錯誤代碼:'1909'

SQL SERVER 屬性OWNER不可用於數據庫xxx。該對象可能沒有此屬性,也可能是訪問權限不足而無法檢索。

CREATE FILE encountered operating system error 5(Access is denied.)

Failed to create AppDomain 'xxx'. Exception has been Failed to create AppDomain

Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc)

SQL SERVER 臨時表的排序問題

Microsoft SQL Server 2005 Service fails to start

SQL SERVER 2014 Agent服務異常停止案例

backup, file manipulation operations (such as ALTER DATABASE ADD FILE) and encryption changes on a database must be serialized.

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM