将一张库的表数据转移到另一个库的表里


insert into [Skyland.MSC.NH].[dbo].[Air_h_2019_A440605001_Src] ([StationCode]
,[TimePoint]
,[PollutantCode]
,[MonValue] )
select 'A440605001'
,[TimePoint]
,[PollutantCode]
,[MonValue] from Air_h_2019_M14999_Src
where TimePoint>'2019-01-07 15:00:00'

猜你喜欢

转载自www.cnblogs.com/luoguixin/p/10237055.html