The administrators of our customer database requested that we not use temporary tables in our stored reporting procedures ( #Table), but instead use variable tables.
Are variable tables less efficient than temporary tables?
In addition, if I create a table as #Table, unlike ##table, then with one there #will be a session table, unlike ##, which is global, right? When stored procedurecompleted, and you are not fulfilling DROP TABLE #table... yet #Table? If it is session based, then will I have access to it again?
source
share