EXECL problem

xiaoxiao2021-03-06  105

Select * from OpenRowset ('Microsoft.jet.OleDb.4.0', 'Excel 8.0; HDR = NO; Database = C: /Test.xls' - c: /test.xls is an Excel file name, Sheet1 $) - Sheet1 $ is a work table name $

Or connect Excel Select * from OpenDataSource ('Microsoft.jet.OleDb.4.0', 'data source = "e: /excel/excel1.xls"; user ID = admin; password =; extended profits = excel 5.0') .. [Sheet1 $]

转载请注明原文地址:https://www.9cbs.com/read-102711.html

New Post(0)