INSERT INTO [tpas_test].[dbo].[tobjects_type]
([tobject_id] ,[tobject_name] ,[sysid] ,[image] ,[width] ,[height] ,[showtype] ,[orderby])
select [tobject_id] ,[tobject_name] ,[sysid] ,[image] ,[width] ,[height] ,[showtype] ,[orderby]
from [tpas].[dbo].[tobjects_type]
前提是 两个表结构完全相同
本文介绍如何使用SQL语句批量将数据从tpas表导入到tpas_test表的tobjects_type表中,确保数据一致性与效率。

被折叠的 条评论
为什么被折叠?



