当前位置:Gxlcms > 数据库问题 > 将Excel的数据更新至SqlServer

将Excel的数据更新至SqlServer

时间:2021-07-01 10:21:17 帮助过:32人阅读

P_Dic_Region set F_Long=a.F_Long,F_Lat=a.F_Lat from( select * from OPENDATASOURCE( Microsoft.Ace.OleDb.12.0, Extended Properties="Excel 12.0;HDR=YES;IMEX=1";Data Source="D:\Region.xlsx" )...[a$])a where P_Dic_Region.F_Code=a.F_Code


其中,select语句是查询Excel数据表,Update语句将数据更新至SQL Server数据表

 

将Excel的数据更新至SqlServer

标签:span   div   exce   sof   ...   upd   数据表   soft   from   

人气教程排行