摘要:
第一种begindeclare @strid nvarchar(max)='296,297' declare @temp Table (a varchar(100)) --创建临时表 --把参数@strid分割成int数组并插入临时表@tempDeclare @i IntSet @strid = R 阅读全文
摘要:
var code = string.Join(",", ProductionLineListCode.Select(item => $"'{item}'")); string sql = string.Format("select * from mes_Resources where ResCode 阅读全文