垮库查询:
select * from 数据库1.dbo.表 a
inner join 数据库2.dbo.表 b on a.主键 = b.主键
垮库修改 :
UPDATE 数据库1.dbo.表 SET 数据库1.dbo.表.字段 = a.字段 FROM 数据库1.dbo.表JOIN 数据库2.dbo.表 a ON a.主键 = 数据库1.dbo.表.主键
Copyright @ 2024 Apex_233 Powered by .NET 8.0 on Kubernetes Powered by: .Text and ASP.NET Theme by: .NET Monster