#temptable 和##TempTable 之间的区别? [英] Difference between #temptable and ##TempTable?
本文介绍了#temptable 和##TempTable 之间的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
#temptable
和 ##TempTable
在 SQL Server 中有什么区别?
解决方案
#table
指的是一个 local 临时表 - 只有创建它的用户可见 >
##table
指的是一个全局临时表——对所有用户可见
What is the difference between #temptable
and ##TempTable
in SQL Server?
解决方案
#table
refers to a local temporary table - visible to only the user who created it
##table
refers to a global temporary table - visible to all users
这篇关于#temptable 和##TempTable 之间的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文