码迷,mamicode.com
首页 > 数据库 > 详细

SQL_临时表中插入数据

时间:2014-10-05 13:19:58      阅读:306      评论:0      收藏:0      [点我收藏+]

标签:style   blog   color   数据   sp   div   c   log   r   

select StuNum,Name into #mytemp_stu from Students --会自动创建一个名为#temp_stu的临时表,并且将students中相应字段的值插入到临时表中
select * from #mytemp_stu

 

SQL_临时表中插入数据

标签:style   blog   color   数据   sp   div   c   log   r   

原文地址:http://www.cnblogs.com/zwhFighting/p/4006790.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!