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

时间:2014-08-25 13:27:04   收藏:0   阅读:248


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;



评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!