摘要:
CommandBehavior.CloseConnection的作用,先看一下面的代码: SqlDataReader sqlread = sqlcom.ExecuteReader(CommandBehavior.CloseConnection);//这里设置了SqlDataReader的CommandBehavior为CloseConnection return sqlread; 说明... 阅读全文
摘要:
CommandBehavior.CloseConnection的作用,先看一下面的代码: SqlDataReader sqlread = sqlcom.ExecuteReader(CommandBehavior.CloseConnection);//这里设置了SqlDataReader的CommandBehavior为CloseConnection return sqlread; 说明... 阅读全文
摘要:
declare @null varchar(1); set @null = null; if (@null is null) begin print 'is null always works not matter "ANSI_NULLS" variable '; end set ANSI_NULLS OFF if (@null = null) begin print '... 阅读全文
|