如何在sql中创建临时表 [英] How to create temp tables in sql

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

问题描述

当用户在页面中输入不完整的数据时,我想存储数据。

为此我想在数据库中创建临时表来存储aspx页面给定会话的临时数据。

请有人为此提供解决方案。



提前致谢

解决方案

SQL Server提供特定于会话的临时表的创建,这些临时表通常驻留在tempdb模式中。请按照以下链接深入讨论创建临时表。



SQL Server中的临时表 [ ^ ]


本文将帮助您了解如何在SQL Server中创建临时表 http://www.sqlserverlogexplorer.com/temporary-tables-in-sql -server / [ ^

I want to store data when user enter incomplete data in a page.
For that i want to create temporary tables in database to store temporary data for given session of aspx page.
please anybody give the solution for this.

Thanks in advance

解决方案

SQL Server provides creation of session specific temporary tables which usually resides in tempdb schema. Follow below link for an indepth discussion over temp table creation.

Temporary Tables in SQL Server[^]


May this article will help you to know how to create temp tables in SQL Server http://www.sqlserverlogexplorer.com/temporary-tables-in-sql-server/[^]


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

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