1.Excel数据导入到PG库的某张表中:先将Excel文件转换为CSV格式,打开SQL Shell(psql),连接数据库(输入server,database,Port,username),然后再执行以下命令\copy sdm_nbev_base_fyp_life_assess(organization,plan_code,fyp,version_id) from 'D:\Users\EX-JINZHI001\Desktop\考核寿险基准FYP.csv' with csv header; 2.