有人可以向我解释一下 #
符号在 MS SQL 代码中的含义吗?
我尝试过用谷歌搜索,甚至在 StackOverflow 上搜索,但似乎找不到答案。
我感觉自己像个白痴——度过了“那些”日子。请帮忙。
最佳答案
它们通常为临时表添加前缀。
来自docs ....
Prefix local temporary table names with single number sign (#table_name), and prefix global temporary table names with a double number sign (##table_name).
关于sql-server - SQL# 符号是什么意思以及如何使用它?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3166117/