結果 : must declare the table variable @tablename sql server