09 2011 档案
摘要:View Code /*ThreadPlayaround实例 介绍如何处理线程,非实际编程问题*/using System;using System.Threading;namespace ConsoleThreadTest{ class Program { static int interval; static void Main(string[] args) { Console.Write("Interval to display result at?>"); interval = int.P...
阅读全文
摘要:并不是真的传入array一样的数组,而是一个以逗号分隔的字符串View Code /*作业优先级跳到最前面*/ALTER PROCEDURE proc_TaskJumpPriority( @ID varchar(100)--多条作业ID如:10,11,12 ) AS DECLARE @PointerPrev int DECLARE @PointerCurr int DECLARE @TId int SET @PointerPrev = 1 WHILE(@PointerPrev <LEN(@ID)) BEGIN SET @Po...
阅读全文