This blog has personalition features for you, the reader. Below is a key of what all the icons mean and which aspects of the layout they change.
Close Window
很少用到在SQL寫迴圈,所以小喵自己筆記一下這樣的寫法,以利以後需要用到的時候備查
DECLARE @_i INT DECLARE @_MAX INT SET @_i = 0 SET @_MAX = 10 -- 要產生幾筆資料 WHILE (@_i<@_MAX) BEGIN --要迴圈的語法 INSERT INTO #TT VALUES('T') --加1 Set @_i=@_i+1 END
Microsoft MVP ASP/ASP.NET
topcatBlog:http://www.dotblogs.com.tw/topcat
posted on 2010/1/22 15:57 | 我要推薦 | 閱讀數 : 1192 | 分類[ SQL ] 訂閱
目前沒有回應.
*必要欄位
目前線上人數: