07 2023 档案
截取指定字符串前面或者后面的字符
摘要:string gddata = “af,cd” int index = gddata.IndexOf(","); if (index >= 0) // 如果找到了指定字符 { string result = gddata.Substring(0, index); // 截取逗号前面的数据 af st
阅读全文
SQL Server查询是否有重复数据
摘要:select ID from User group by ID having count(ID) > 1
阅读全文