2022年9月6日

sqlserver the name is not a valid identifier error in function

摘要: 在exec 后参数少加了() SET @Name = 'select UserName from [' + @dbName + '].dbo.Users where UserID=' + CONVERT(VARCHAR, @UserID) exec(@Name) 阅读全文

posted @ 2022-09-06 12:04 糯米白白 阅读(32) 评论(0) 推荐(0) 编辑

C# DateTime.ParseExact使用

摘要: 在使用DateTime的ParseExact方法解析日期时间的时候要将这两种日期格式都写入 string[] dateFormates = { "yyyy-MM-dd", "MM/yyyy/dd", "yyyyMMdd", "yyyy/MM/dd", "yyyy/M/dd", "yyyy/M/d", 阅读全文

posted @ 2022-09-06 12:02 糯米白白 阅读(888) 评论(0) 推荐(0) 编辑

导航