如何縮小MSSQL的記錄檔已經是一個經常性的問題了,不過這個問題在精華區已經有不少答案了,我這裡也不再贅述。現在我們討論一下治本的問題,即如何使記錄檔不再增大?先介紹一個簡單的方法。就是把資料庫的故障還原模型設定為“簡單”(SQL2K)。這樣它就會在Checkpoint的時候截斷日誌。具體操作方法是:1、在Enterprise Manager中右鍵點資料庫,“屬性|選項|故障還原”,選擇“簡單”就可以了,如果是SQL7,在“屬性|選項”中有一個“trunc. log on chkpt.
XDR不會不知道吧?就是簡化的XML-Data啦。現在示範一個如何?這樣的查詢SELECT o.OrderID, o.OrderDate from Orders o, Customers c,WHERE o.CustomerID = c.CustomerID and c.CompanyName = ?Code: Dim sConn sConn = "Provider=SQLOLEDB; Data Source=(local); Initial Catalog=Northwind;
from: http://www.planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=4&txtCodeId=6518Connect/Read Remote SQL server Using PWS in win 98 I had to test Microsoft's Personal Webserver (PWS) in win 98 to access Remote SQL server 7.0 installed in a
Microsoft SQL Server 7.0 的資料移轉到MySQL上的方法 Zhbforce 想必大家都很喜歡用Word打字,用Excel進行計算和規劃,用PowerPoint作投影片進行展示…,但是這隻用到了Office系列產品的很少的一部分功能。據調查,絕大部分使用者只用到了Office產品的20%的功能,很少有人注意到Visual Basic for
Q. How can I restrict access to my SQL Server so that it only allows certain machines to connect?(v1.0 19.10.1998)怎樣才能限制我的SQL Server只能讓指定的機器串連A. SQL Server has no built-in tools/facilities to do this. It also does not have the facility to run a
我將提出一個挑戰,誰能用SQLSEERVER提出計算素數最好的方法,我用了一個新的特點CTE和某些TSQL實現,但均不理想,前者(CTE)有限制,而後者(TSQL)產生一百萬個素數用了7分種你可以乾的更好嗎?這兒是我的一些程式碼片段落(TSQL實現)set nocount on declare @prime table (prime int not null primary key) --insert into @prime values (2) --insert into @prime