想要永久创建临时表 [英] want to create temp table permanently

查看:69
本文介绍了想要永久创建临时表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我想创建一个临时表,在其中将在服务器本身中创建它.

例如:如果我第二天在不重新启动服务器的情况下打开了该临时表
在那一天之前.

我想要在解决方案

否之前存储在该临时表中的详细信息.您必须创建一个物理表.您必须将其重命名为temp以供参考.会话结束后,TempTables将持续很长时间.

关于TEMPDB,无论何时创建临时表,都会在tempdb表中创建它.在此处创建表不是一个好主意.


您好,,,,

仅供参考

通过以下链接.


快速概述:SQL Server 2005中的临时表 [ ^ ]


hi,


i want to create a temporary table in which it will be created in server itself.

for ex: if i opened that temp table by the next day without restarting the server
before that day .

i want the details which is stored in that temp table before,,,,,

解决方案

NO. You have to create a physical table. You have to rename it as temp for your reference. TempTables wont long last after the session.

And about TEMPDB whenever you create temp tables, it will be created in tempdb table. its not good idea to create a table there.


Hi ,,,,

FYI

go through the below link.


Quick Overview: Temporary Tables in SQL Server 2005[^]


这篇关于想要永久创建临时表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆