摘要:
ALTER DATABASE tmipdb_td SET MULTI_USER 阅读全文
摘要:
在CS代码中传入值操作: Nullable<DateTime> instoragedate = null; if (!string.IsNullOrEmpty(instorage)) instoragedate = Convert.ToDateTime(instorage);在SQL查询时操作: case when convert( varchar(12) ,InStorageDate,111)='1900/01/01' then '' else convert( varchar(12) ,InStorageDate,111) end as InSt 阅读全文