結果 : how to create dynamic cursor in sql server