SQL创建临时表
来源:互联网 发布:美容美体教学饮软件 编辑:程序博客网 时间:2024/04/30 18:14
创建临时表
方法一:
create table #临时表名(字段1 约束条件,
字段2 约束条件,
…..)
create table ##临时表名(字段1 约束条件,
字段2 约束条件,
…..)
方法二:
select * into #临时表名 from 你的表;
select * into ##临时表名 from 你的表;
注:以上的#代表局部临时表,##代表全局临时表
查询临时表
select * from #临时表名;
select * from ##临时表名;
删除临时表
drop table #临时表名;
drop table ##临时表名;
SQL SERVER临时表的使用
http://www.cnblogs.com/shineqiujuan/archive/2008/11/13/1332657.html
阅读全文
0 0
- SQL 创建临时表
- SQL创建临时表
- SQL创建临时表
- SQL创建临时表
- pl/sql创建临时表
- Sql 怎么创建临时表
- SQL语句创建临时表
- sql临时表的创建
- sybase sql 创建临时表
- 摘录:sql,临时表,创建,存储过程
- SQL 创建临时表并导入到新表中
- SQL Server创建和使用临时表
- SQL Server创建和使用临时表
- SQL Server创建和使用临时表
- SQL临时表的创建及使用
- sql两种临时表的创建
- 运用sql语句创建临时表
- SQL临时表的创建+查询
- TabLayout+PullToRefreshListView连用
- 安装Android studio出现unable to access android sdk add-on list解决办法
- this
- Python学习笔记-17.09.18
- 因专利问题,百度等大型公司宣布停止使用React Native
- SQL创建临时表
- #CCF准备一年日常刷题#201409-2 画图
- Javascript变量作用域、变量提升
- Mac下JSON字符串转Model对象工具(JSONExport)
- Servlet(1)—Servlet容器tomcat和HTTP协议
- java中的值传递和引用传递问题
- Could not find result map java.lang.String异常
- 图形绘制 QPainter
- Android----- 改变图标原有颜色 和 搜索框