在一個TABLE 中SELECT 一部分的資料,是否有方法自動產生流水編號欄位 ... How to dynamically number rows in a SELECT Transact-SQL ...
social.msdn.microsoft.com