Or “octothorpe” for the pedants 🙂
Google says “non-sharable temp table” but I don’t know what that means. Any clarification would be helpful.
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It creates a temp table that is visible to the current scope, and can’t be accessed across logins. It gets cleaned up once it’s out of scope (i.e. the stored proc is finished running).
If you define a temp table with “##”, it is global, and can be accessed across sessions.