Select * FROM NodeTable Where(idNode IN(2247,4,82538,71994,2245)) ORDER BY CHARINDEX(',' + CONVERT(nvarchar, idNode) + ',', ',' + CONVERT(nvarchar, Replace('2247,4,82538,71994,2245', ' ', '')) + ',')
mssql where in 按照 in 中的进行排序
最新推荐文章于 2023-05-16 22:08:05 发布