MSSQLSERVER导入EXCEl
来源:互联网 发布:电气工程师难考吗 知乎 编辑:程序博客网 时间:2024/06/16 05:39
Insert into test(id,name) Select idd,names FROM OpenDataSource( 'Microsoft.Jet.OLEDB.4.0', 'Data Source="D:\test.xls"; User ID=;Password=;Extended properties=Excel 5.0')...[Sheet1$]
1)启用安全策略
exec sp_configure 'show advanced options',1
reconfigure
exec sp_configure 'Ad Hoc Distributed Queries',1
reconfigure
2)关闭安全策略
exec sp_configure 'Ad Hoc Distributed Queries',0
reconfigure
exec sp_configure 'show advanced options',0
reconfigure
0 0
- MSSQLSERVER导入EXCEl
- 将Excel中的数据导入至MsSQLSERVER中(示例)
- MsSqlServer bak文件数据导入
- MSSQLSERVER
- MsSqlServer
- MSSQLSERVER
- EXCEL导入
- 导入EXCEL
- Excel 导入
- Excel导入
- 导入Excel
- 导入Excel
- 导入Excel
- excel导入
- 导入EXCEL
- 导入excel
- 导入excel
- 导入Excel
- 机器智慧能否超越人类?三派专家观点
- java事务
- opengl
- APK反编译
- Web Service测试工具小汇
- MSSQLSERVER导入EXCEl
- 字符编码ASCII,Unicode和UTF-8的区别及理解
- Yii中CDbCriteria常用总结
- grep
- oracle ORA-01480
- 去掉ExpandableListView前的向下箭头
- vs 或 Sql server2012连接Sql server时出现的问题:已成功与服务器建立连接,但在登陆过程中发生错误
- XP作业13年今日退休 安全厂商逐利延保效劳
- View的setOnClickListener的添加方法