在视图中包含临时/变量表有哪些问题?
我的一个朋友问我是否知道为什么他不应该在 SQL-Server 2000 的视图中包含临时表或变量表。我只能认为每次访问视图时都会创建一个新表,但我想知道是还有其他问题。
谢谢,
编辑:这是不可能的
a friend of me is asking if i know any reasons why he should not included Temporal or variables tables inside a View in SQL-Server 2000. i could only think that a new table will be created everytime the view is accessed but i am wondering is there are any other concerns.
Thanks,
EDIT: This is not Possible
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
呵呵,你也能做到吗?
服务器:消息 4508,级别 16,状态 1,过程测试,第 2 行
临时表上不允许使用视图或函数。 以“#”开头的表名称表示临时表。
Huh, can you even do that?
Server: Msg 4508, Level 16, State 1, Procedure Test, Line 2
Views or functions are not allowed on temporary tables. Table names that begin with '#' denote temporary tables.