SQL语句选择电子表格 2012.10.23
摘要:
use aspnetdbgoexec sp_configure 'show advanced options',1 reconfigureexec sp_configure 'Ad Hoc Distributed Queries',1reconfiguregoinsert into [数据表](字段1,字段2) select 字段1,字段2 from OPENROWSET('MICROSOFT.JET.OLEDB.4.0','Excel 5.0;HDR=YES;DATABASE=E:\excel表.xls',sheet1$)go 阅读全文
posted @ 2012-10-23 10:47 Jason_liu 阅读(189) 评论(0) 推荐(0) 编辑