You can not do DELETE, INSERT on intermediate table variables.
Specify your exact requirement why you want to DELETE on intermediate table variable.
If you want to delete certain rows then you must write it as SELECT condition itself.
You can not do DELETE, INSERT on intermediate table variables.
Specify your exact requirement why you want to DELETE on intermediate table variable.
If you want to delete certain rows then you must write it as SELECT condition itself.