摘要: 开始:在工作中经常要把Excel的数据转换成SQL导入脚本,这里写了一个存储过程sp_OpenExcel,实现查询Excel文件并生成Insert脚本。sp_OpenExcel:View Code Use masterGoif object_ID('[sp_OpenExcel]') is not null Drop Procedure [sp_OpenExcel]GoCreate Proc sp_OpenExcel( @ExcelFile nvarchar(1024), @Sheet nvarchar(512), @Cols nvarchar(1024)=Null, ... 阅读全文
posted @ 2012-12-07 17:00 ok_008 阅读(2893) 评论(1) 推荐(2) 编辑
给我写信