其實只要使用系統內建的預存程序sp_spaceused就可以得到表的相關資訊如:sp_spaceused 'tablename' 以下是為了方便寫的一個預存程序,目的是把當前的所有表的相關資訊全部都儲存在一個指定的表裡面CREATE PROCEDURE get_tableinfo AS if not exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[tablespaceinfo]') and
背景:客戶資產管理項目分為傳統型應用程式和PDA手持式應用程式,手持式應用程式讀取資產上的電子標籤的資訊,並儲存在本地的SQL Server CE中,但為了進行統計報表和相關的審核查詢,需要把SQL Server CE中的資料同步到案頭資料庫SQL Server 2000中去,也就是說SQL Server CE需要和案頭的SQL Server 2000 進行資料交換。 技術要點:SQL Server CE全名是Microsoft SQL Server 2000 Window
文章目錄 Establishing a good foundationAdditional considerations when configuring SQL server memoryWhat is MemToLeave?How do I allocate more resources to MemToLeave?Summary Determining the appropriate memory configuration for
說明:災難恢複系列的文章是由 Robert Davis 寫的,發布在SQLSoldier, 個人認為挺不錯的,所以根據自己的理解,邊測試邊整理,並非直接翻譯,如有不準確,歡迎指正。本篇進入資料庫災難恢複第四篇,主要討論備份的重要以及一些容易被忽視而沒有備份。系統資料庫大多數人都知道要備份使用者資料庫,其實系統資料也需要備份,他們是master,model,msdb,distribution,以及resource資料庫,它的備份採用copy資料檔案(mssqlsystemresource.mdf
來源:http://www.cnblogs.com/lanse777/archive/2007/03/28/691757.html SQL Server .NET Data Provider 連接字串包含一個由一些屬性名稱/值對組成的集合。每一個屬性/值對都由分號隔開。 PropertyName1=Value1;PropertyName2=Value2;PropertyName3=Value3;..... 同樣,連接字串必須包含SQL
文章目錄 How to determine which version of SQL Server 2000 is running How to determine which version of SQL Server 2000 is runninghttp://support.microsoft.com/default.aspx?scid=kb;en-us;321185 How to determine which version