日期:2014-05-17 浏览次数:20506 次
CREATE TABLE #temp (cstr CHAR(1)) INSERT #temp SELECT 'A' UNION ALL SELECT 'B' UNION ALL SELECT 'C' UNION ALL SELECT 'D' UNION ALL SELECT 'E' UNION ALL SELECT 'F' SELECT * FROM #temp ORDER BY CHARINDEX(cstr,'DCBEFA')