如何直接从一个表数据插入到具有相同列名的另一个表 [英] How to insert directly from one table data to another table which have same column names

查看:82
本文介绍了如何直接从一个表数据插入到具有相同列名的另一个表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个名为temp的表数据,我希望将相同的数据填充到另一个员工表中,该表具有相同的列名。请以简单的方式告诉我解决方案,以便我可以理解为我是.NET的新手。

解决方案

如果您想在SQL服务器表中插入数据,可以参考此链接

< a href =http://blog.sqlauthority.com/2007/08/15/sql-server-insert-data-from-one-table-to-another-table-insert-into-select-select-into- table /> SQL SERVER - 将数据从一个表插入另一个表 - INSERT INTO SELECT - SELECT IN IN TABLE [ ^ ]

I have a table data named "temp" and i want to populate the same data into one more table of employee ,which has same column names .Please tell me the solution if any in a simple way so that i can understand as i am new to .NET.

解决方案

If you are looking to insert data into your SQL server table you can refer this link
SQL SERVER – Insert Data From One Table to Another Table – INSERT INTO SELECT – SELECT INTO TABLE[^]


这篇关于如何直接从一个表数据插入到具有相同列名的另一个表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆