変数でテーブル型を使用しています@temporaltable
FETCH MyCursor Into @temporaltable
しかし、フィールドに入ろうとするとエラーが発生しました...
insert into T1 (t1field1,t1field2, t1field3)
values(@temporaltable.field1, @temporaltable.field2, @temporaltable.field3)
認識せず@temporaltable
、エラーが発生しました
スカラー変数 @temporaltable を宣言する必要があります