上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 60 下一页
  2009年7月23日
摘要: 更改Table中字段refinv里的内容,有重复的内容在后面加数字,后面的数字是有序的。原表:id refinv price date----------- ---------------... 阅读全文
posted @ 2009-07-23 17:57 martian6125 阅读(189) 评论(0) 推荐(0)
摘要: --转贴:MSSQL(查找死锁):use mastergodeclare @spid int,@bl intDECLARE s_cur CURSOR FOR select 0 ,blockedfrom (select * from sysprocesses wher... 阅读全文
posted @ 2009-07-23 17:57 martian6125 阅读(145) 评论(0) 推荐(0)
摘要: 在MSSQL里,如何筛选出多个列的内容相同的数据,如:ID Name Desc. Unit QTY001 ABC 15*20 PCS 15001 ABC 15*20 PCS 16001 A... 阅读全文
posted @ 2009-07-23 17:56 martian6125 阅读(376) 评论(0) 推荐(0)
摘要: CREATE PROCEDURE sp_testdll ASexec sp_addextendedproc 'SetFileName', 'storeproc.dll' --声明函数exec sp_addextendedproc 'addLine', 'storepr... 阅读全文
posted @ 2009-07-23 17:54 martian6125 阅读(189) 评论(0) 推荐(0)
摘要: select * from sysobjects where id=object_id('shinz_ghzl') 阅读全文
posted @ 2009-07-23 17:53 martian6125 阅读(141) 评论(0) 推荐(0)
摘要: 解决办法: 打开 SQL Server Configuration Manager, 打开SQL Server SQLEXPRESS 的属性, 将内置帐户改为本地系统即可. 阅读全文
posted @ 2009-07-23 17:52 martian6125 阅读(108) 评论(0) 推荐(0)
摘要: varI: Integer;beginwith dofor I := 0 to ViewData.RecordCount - 1 dobeginViewData.Records[0].Focused := True;DataController.DataSet.Del... 阅读全文
posted @ 2009-07-23 17:52 martian6125 阅读(142) 评论(0) 推荐(0)
  2009年7月22日
摘要: 关键代码:function TForm1.GetSysFocus: Integer; var hOtherWin,OtherThreadID,hFocusWin:integer; begin hOtherWin:=Get... 阅读全文
posted @ 2009-07-22 07:56 martian6125 阅读(148) 评论(0) 推荐(0)
摘要: 方法一:Boris Kumparfunction ExtractBasePath(const Path1,Path2:string):string;const PATH_DELIMITER = '\'; DRIVE_DELIMITER = ':';var P1,... 阅读全文
posted @ 2009-07-22 07:49 martian6125 阅读(194) 评论(0) 推荐(0)
摘要: 拖动TTimer组件TTimer组件事件如下: const {$J+} animatedTitle : string = ' Animated Application''s TaskBar Title '; {$J-}var cnt: Integer;begi... 阅读全文
posted @ 2009-07-22 07:46 martian6125 阅读(140) 评论(0) 推荐(0)
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 60 下一页