Time of Update: 2018-12-08
SQL Server中包含了幾個可以訪問系統註冊表的擴充預存程序.但實際上這幾個擴充預存程序是未公開的,從sql server 7.0就有了,在SQL server 2000中仍然保留,他們以後可能會刪除.但是這幾個預存程序卻提供了在當前的SQL Server版本中訪問系統註冊表的能力,而且很多人利用SQL Server來進行攻擊系統時,往往都會用到這幾個擴充預存程序.所以最好在SQL Server中禁用他們.
Time of Update: 2018-12-08
FCKeditor2.0版終於出來了,之所以用“終於”這個詞,是因為在這一版本上加上了眾望所歸的FLASH插入功能。可以說在所有的線上編輯器中,FCKeditor是目前互連網上最好的編輯器,功能強大,支援多種瀏覽器,無平台限制,可以和多種WEB語言融合,多語言支援,開源等~~ 對於一個全新的網站,FCKeditor就可以直接拿過來用了,不需要進行什麼修改。但是對於絕大多數的已有網站而言,FCKeditor的一些設定並不適合自己的使用,這篇文章旨在告訴你簡單的修改FCKeditor以方便您的網站
Time of Update: 2018-12-08
標題:資料庫設計規範版本:V2.0修訂文檔記錄:---日期--|---版本--|--說明----2003.6.5 V1.0 文檔初搞2003.6.17 V2.0 對1.0 的內容重新整理 資料庫設計規範1 目的 規範資料庫設計。2 概述 從資料庫的設計原則 設計文檔幾方面論述資料庫設計的規範思想及命名規則。3 資料庫應用結構
Time of Update: 2018-12-08
當我們要進行資料庫的串連時,就會根據<%$ connectionsStrings:MyConnectionStringName %>這個運算式在Web.config檔案中找到和MyConnectionStringName匹配的資料庫連接字串”Server=MyServer;User
Time of Update: 2018-12-08
CREATE procedure main_table_pwqzc(@pagesize int,@pageindex int,@docount bit,@this_id)asif(@docount=1)beginselect count(id) from luntan where this_id=@this_idendelsebegindeclare @indextable table(id int identity(1,1),nid int)declare @PageLowerBound
Time of Update: 2018-12-08
join 方式(1) cross join 參與select語句所有表的的所有行的笛卡爾乘積 select au_lname ,title from authors cross join titiles outer join 對參與join的兩個表有主從之分,處理方式以主表的每條資料去match 從屬表的列,合乎條件的資料是我們所要的答案,不合乎條件的也是我們要的答案,只不過哪些從屬表選取的列將被添上null。(2) left join
Time of Update: 2018-12-08
使用SVNService服務 1、拷貝SVNService.exe檔案到subversion的安裝目錄bin裡 2、cmd 執行SVNService -d -r “版本庫目錄” 3、開啟“服務” 啟動即可。
Time of Update: 2018-12-08
CREATE PROCEDURE sp_page @tb varchar(50), --表名 @col varchar(50), --按該列來進行分頁 @coltype int, --@col列的類型,0-數字類型,1-字元類型,2-日期時間類型 @orderby bit, --排序,0-順序,1-倒序 @collist varchar(800),--要查詢出的欄位列表,*表示全部欄位
Time of Update: 2018-12-08
原文:http://rayidea.net/article.asp?id=651.常規函數 javascript常規函數包括以下9個函數: (1)alert函數:顯示一個警告對話方塊,包括一個OK按鈕。 (2)confirm函數:顯示一個確認對話方塊,包括OK、Cancel按鈕。 (3)escape函數:將字元轉換成Unicode碼。 (4)eval函數:計算運算式的結果。 (5)isNaN函數:測試是(true)否(false)不是一個數字。 (6)parseFloat函數:將字
Time of Update: 2018-12-08
{主程式} unit Unit2;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, DB, ADODB;type TPluginName = Function:string; stdcall; TShowPerSN =
Time of Update: 2018-12-08
library plug_in;uses SysUtils, Classes, Unit3 in 'H:\test\Unit3.pas' {Form3};exports GetForm,GetName;{$R *.res}beginend. {要載入的表單} unit Unit3;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs,
Time of Update: 2018-12-08
解決過程:1.建一個新庫newdb2.停掉資料庫。刪除新庫的log檔案,講metadb.mdf覆蓋newdb.mdf。3.啟動資料庫伺服器。資料庫newdb的狀態為“置疑”。4. 允許對系統目錄直接修改use mastergosp_configure 'allow updates',1go reconfigure with overridegoupdate sysdatabases set status=-32768 where dbid=DB_ID('newdb')5.重建logdbcc
Time of Update: 2018-12-08
{idHTTP} procedure upload;var tmpWeb: TIdHTTP; FS: TIdMultiPartFormDataStream;begin try tmpWeb:=TIdHTTP.Create(nil); FS := TIdMultiPartFormDataStream.Create; FS.AddFormField('postconntext', ''); //上傳參數 FS.AddFile('userfile',
Time of Update: 2018-12-08
摘自DELPHI盒子 http://www.2ccc.com/article.asp?articleid=2048P2P 之 UDP穿透NAT的原理與實現原創:shootingstars參考:http://midcom-p2p.sourceforge.net/draft-ford-midcom-p2p-01.txt論壇上經常有對P2P原理的討論,但是討論歸討論,很少有實質的東西產生(原始碼)。呵呵,在這裡我就用自己實現的一個原始碼來說明UDP穿越NAT的原理。首先先介紹一些基本概念:
Time of Update: 2018-12-08
type TReadOrderThread = class(TThread) private FCDS: TClientDataSet; Fstr: string; protected procedure Execute; override; procedure readOrder; function XMLToDataSet(strXML:WideString;nodeName:string):TClientDataSet; public
Time of Update: 2018-12-08
1、開啟記事本,然後將下面的代碼複製到一個新檔案中。<%@ Page Language="C#" %><%Response.Write(System.Security.Principal.WindowsIdentity.GetCurrent().Name);%> 儲存 my.aspx 到你的web目錄 ,運行一下表單顯示 “ NT AUTHORITY\NETWORK SERVICE ”。成功!2、(關鍵一步)運行cmd,執行以下 aspnet_regiis -pa "
Time of Update: 2018-12-08
區分漢字和字母的函數delphifunction gthz(s:string):string;var i:integer;begin result:=''; for i:= 0 to Length(s) do begin if (Ord(s[i]) >= 127) then result:=result+s[i]; end;end;區分漢字和字母的函數 sqlserverif exists (select * from dbo.sysobjects where
Time of Update: 2018-12-08
Setting up SSL with Ubuntu 8.10 is a simple process but it does have a few gotchas that you need to be aware of. The setup has changed from 8.04. One issue is that the +CompatEnvVars is no longer used as it created a bug in 8.10 and you will have
Time of Update: 2018-12-08
很經典的“先進先出”的庫存處理的SQL語句。 CREATE TABLE #tmp (ID int IDENTITY (1, 1),單價 decimal(18, 2) NOT NULL ,數量 decimal(18, 2) NOT NULL ,已出數量 decimal(18, 2) NOT NULL)insert into #tmp(單價,數量,已出數量) values(1.1,50,0)insert into #tmp(單價,數量,已出數量) values(1.3,30,0)insert
Time of Update: 2018-12-08
快顯視窗後,為了不讓隊父視窗進行操作,使用了window.showModalDialog()的方法,可是在關閉showModalDialog視窗的時候,總是會彈出一個新視窗。開始一直認為這個IE的bug,後來才發現自己在頁面上少寫<base target="_self">。索性把target屬性查個到底:SyntaxHTML<ELEMENT TARGET = sTarget... > Scriptingobject.target [ = sTarget