Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的一个朋友问我是否知道为什么他不应该在 SQL-Server 2000 的视图中包含临时表或变量表。我只能认为每次访问视图时都会创建一个新表,但我想知道是还有其他问题。
谢谢,
编辑:这是不可能的
呵呵,你能做到吗?
服务器:消息 4508,级别 16,状态 1,过程测试,第 2 行临时表上不允许视图或函数。以“#”开头的表名表示临时表。