首页 > 数据库技术 > 详细

Mysql中select into from用法

时间:2015-09-18 20:12:18      阅读:235      评论:0      收藏:0      [点我收藏+]

原文:http://www.111cn.net/database/mysql/60705.htm

       

       在mysql中用select into from一直报错,

       错误:#1327 - Undeclared variable: target_test

       select into from要求目标表target_table不存在,因为在插入时会自动创建

       后来在网上看资料说Mysql不支持select into from语句,所以用其他方法来替代select into from语句:

       Create target_table(Select * from Table1);

Mysql中select into from用法

原文:http://www.cnblogs.com/FTDtt/p/4820033.html

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