導讀: 1 if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[p_movefile]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) 2 drop procedure [dbo].[p_movefile] 3 GO 4 /*--行動服務器上的檔案 5 不藉助 xp_cmdshell ,因為這個在大多數時候都被禁用了 6 --鄒建 2004.08
今天又看到了自己的項目有一段代碼感覺不太好。需求大概是這樣的,有一表,裡面有好多的記錄,然後我們要求把表示預設的記錄找出來,如果沒有預設的記錄的話就取第一條(或者承便一條)然後他的寫法是全部把資料庫的資料取出來,判斷 是不是有預設的。 沒有的話取第一條。我想可以改造成另一種形式,跟據預設欄位進行排序,然後找到第一條。下面就是我們的類比代碼 Code highlighting produced by Actipro CodeHighlighter
我一般喜歡在 D:\project\具體的項目名\在這個下面建 Doc WEB Data ...等 一個比較重要的是 public dll 我會建一個這樣的檔案夾.所有要給其它項目引用的dll都會放到這裡面來.比如某些控制項(radcontrol) 還有orm組件然後其它人一般也會要求它把項目建在同一個位置.. 目的就是防止. dll引用的時候.有麻煩.
用eslipse做資料庫JAR時顯示如下提示:log4j:WARN Please initialize the log4j system properly.原因是沒有對log4j這個jar進行檔案配置。將log4j.properties檔案放在src目錄下就可以了。例如log4j.properties檔案內容如下:log4j.rootLogger=debug, stdout,
We need prepare tools, "Adodb Acrobat" please download it and install it. open the adodb acrobat . make an new pdf file (you can make it form image, word and exgist pdf file) find Form toolbar from menu. drop the text field (文本域)to work
體繪製(VolumeRendering)之光線投射演算法(RayCasting)The four basic steps of volume ray casting: (1) Ray Casting (2) Sampling (3)Shading (4) Compositing.Inits basic form, the volume ray casting algorithm comprises four steps:Ray casting. For each pixel of