摘要:C# string.Replace((char)13, ' ') //newline char; string.Replace((char)10, ' ') //return char;
阅读全文
摘要:最简单的分页(没考虑效率) SELECT TOP 10 [Id],[ReflectionId],[CreatorUserId],[Type],[Text],[AttachmentsJson],[CreatedTime] FROM [LeadersCorporationDB].[dbo].[ReflectionLog] WHERE [ReflectionId]='2769D3CB-BB5C-47A1-9BF3-00C16614C4EB' AND Id NOT IN(SELECT TOP ((2-1)*10+1) Id FROM [LeadersCorporationDB].[db
阅读全文
摘要:error occurs when restoring the backup file of sql server(DB.bak)to run the above t-sql will shoot this issue! nothing else to do!原文内容引用:http://www.cnblogs.com/adandelion/archive/2006/09/30/519534.html
阅读全文
摘要:本文转载自阿单《datetime is null》datetime 以'YYYY-MM-DD HH:MM:SS'格式检索和显示DATETIME值同时当datetime 为 null时,选取相关数据使用:SELECT * FROM process WHERE date_inserted is null;并不是使用:SELECT * FROM process WHERE date_inserted =null;
阅读全文