摘要:
public class FastInvoke { public delegate object FastInvokeHandler(object target, object[] paramters); static object InvokeMethod(FastInvokeHandler in 阅读全文
摘要:
var EventUtil = { addHandler: function (element, type, handler) { if (element.addEventListener) { element.addEventListener(type, handler, false); } el 阅读全文
摘要:
select a.name as 表名, g.*from sysobjects as a left join syscolumns as b on a.id=b.id left JOIN sys.extended_properties g on b.id=g.major_id and b.colid 阅读全文
摘要:
BEGIN TRAN Tran_Money --开始事务 DECLARE @tran_error int; SET @tran_error = 0; BEGIN TRY UPDATE tb_Money SET MyMoney = MyMoney - 30 WHERE Name = '刘备'; SET 阅读全文
摘要:
SELECT b.项目,b.[单位],b.[数量/金额] FROM(SELECT ProjectCategory 项目,CAST(COUNT(1) AS VARCHAR(20)) AS 数量,CAST(ISNULL(SUM(InvestAmount),0.0) AS VARCHAR(20)) AS 阅读全文
摘要:
--SELECT ff= stuff((select ','+cast(WorkOrderNo as varchar)-- FROM dbo.TB_WorkOrder c -- where tpl.ProjectID=c.ProjectID -- WHERE c.WorkOrderType=1--... 阅读全文