摘要:
public static List<T> ConvertToEx<T>(DataTable dt) where T : new() { if (dt == null) return null; if (dt.Rows.Count <= 0) return null; List<T> list = 阅读全文
摘要:
declare @i int; declare @s nvarchar(max) set @i=0; set @s='xxxx'; select @i=count(*) from A where tiaoma=@s; if(@i>0) begin select * from A where tiao 阅读全文
摘要:
CREATE PROCEDURE [dbo].[PROC_User] AS BEGIN DECLARE @LastDate DATETIME SELECT @LastDate=MAX(stime) FROM user2 BEGIN TRANSACTION --事务开始 BEGIN TRY --sql 阅读全文