• But you are not inserting anything in #C and @sql is also not declared.