|
场景:
我新建一个EXCEL,名字是test。第一个sheet名字是person,里面有name,和old两个字段。增加一些数据在里面。
我插入数据库检查点。
Connect:
DBQ=C:\temp\test.xls;DefaultDir=C:\temp;Driver={Driver do Microsoft Excel(*.xls)};DriverId=790;FIL=excel 8.0;FILEDSN=D:\Program Files\Common Files\ODBC\Data Sources\test.dsn;MaxBufferSize=2048;MaxScanRows=8;PageTimeout=5;ReadOnly=1;SafeTransactions=0;Threads=3;UID=admin;UserCommitSync=Yes;
SQL该怎么写呢?
Select * from person 提示[Microsoft][ODBC Excel Driver] The Microsoft Jet database engine could not find the object 'person'. Make sure the object exists and that you spell its name and the path name correctly.
谢谢了。
[ 本帖最后由 风过无息 于 2007-1-19 11:07 编辑 ] |
|