sql select into 和insert into

来源:互联网 发布:淘宝爽yy插件官网 编辑:程序博客网 时间:2024/06/07 00:39
select * into Userinfo2 from UserInfo; //要求表不存在会自动创建


insert into Userinfo2(UserName,Passord) select UserName, Passord from UserInfo where UserName='1';//要求表必须存在
0 0
原创粉丝点击