首页 > 数据库技术 > 详细

oracle 通过查询灵活插入数据 insert into ...select..

时间:2014-08-25 13:27:04      阅读:295      评论:0      收藏:0      [点我收藏+]


insert into reg_user (id,name,password,area_code,reg_time,first_pswd,record_type)
      select l.reg_user_id,l.entry_person,'4QrcOUm6Wau+VuBX8g+IPg==',l.area_code,sysdate,'123456',l.type
      from location_info l where l.type=5;



oracle 通过查询灵活插入数据 insert into ...select..

原文:http://blog.csdn.net/without0815/article/details/38818847

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!