原创 SQL Server2005中的聚集索引必定唯一
前幾天看Inside SQL Server Storage關於索引的講解時,提到說SQL Server2005聚集索引一定是惟一的。如果在創建聚集索引時不使用unique關鍵字,系統會給重複的索引鍵加一個4字節長度的附件信息,讓索引鍵惟一
原创 SQL Server2005維護計劃一種錯誤的處理方式
/**//*-----------------------------問題描述:MsSqlServer2005中,由於計算機名修改或者刪除、修改或重建維護計劃的誤操作引起系統中有無法刪除的維護計劃,錯誤提示類似於:“DELETE語句
原创 關於函數重載筆記002
using 聲明怎樣影響重載函數呢using 聲明爲一個名字空間的成員在該聲明出現的域中提供了一個別名下面程序中的using 聲明會怎麼樣呢namespace libs_R_us {int max( int, int );int max(
原创 SQL Server索引維護指導
http://database.ctocio.com.cn/tips/69/8078069.shtml SQL Server索引維護指導作者:王紅波摘要本文以筆者在實際工作中對SQL Server數據庫種索引維護的思路和方法爲導向
原创 最大公約數,最小公倍數
// win32_MyFun.cpp : 定義控制檯應用程序的入口點。////y2k051229//whbo//vc++7.0.net////#include <iostream>#include "stdafx.h"using name
原创 QQ被盜,大家小心啦!
冒充我同學,跟我借QQ,然後改密碼,卑鄙的手法,鄙視之!
原创 SQL Server2005中刪除重複行
以前寫的東西,可以看看思路 /**//*刪除表中重複行的方法*/if exists(select 1 from sys.tables where name='t_dup') drop table t_dupgocreate
原创 Linux下Bash Shell編程
Bash Shell Programming in Linux Linux下Bash Shell編程 Bash what? 進階的內容是什麼? Okay, I grant that this page mightrepresent a
原创 IT人員轉行寫小白文可以麼?
http://www.qidian.com/Book/2838198.aspx 大約兩個時辰,便輪到龍昊和林奇的考覈測試了。兩人分別進了不同的房間進行測試,分開之前,林奇拍了拍龍昊的肩膀囑咐道: “龍昊,測試結束就在這裏等我,千萬
原创 SQL Server DBA Dashboard
February 29, 2008SQL Server DBA DashboardBy Gregory A. Larsen Last month in my article (Building Custom Reporting Servi
原创 用pivot的簡單行列轉例子
--ProductID OrderMonth SubTotal --1 5 100.00 --1 6 100.00 --2 5 200.00 --2 6 200.00 --2 7 300.00 --3
原创 新書地址 http://chuangshi.qq.com/read/book/83980678.html
http://chuangshi.qq.com/read/book/83980678.html
原创 SQL Server 文件移動方案
方案一: 1. 該 DB進行完整備份. 然後到sysfiles中讀出需要移動文件的fileid 2. 關閉SQL Server .(net stop mssqlserver) 3. 將Log (ldf) 文件
原创 新建ssis包,保存時出錯
今天同事遇到的問題及解決方法。 新建ssis包,保存時出錯。 出錯提示: Failed to save package file "C:/Documents and Settings/jacontesse/LocalSettings/Te