EXCEL OleDbCommand Select语句没有给出一个或多个必需参数的值

时间:2014-08-12 14:42:57

标签: sql excel oledbcommand

我正在查询和excel电子表格,我想在选择中添加列。

SELECT "500" AS [COMPENDIUM_ID], 
       [ORDER_CODE], 
       [ORDER_DESCRIPTION] AS [ORDER_DESC], 
       "NULL" AS [AOE_CAT_CODE_ID], 
       [ORDER_LOINC_CODE],  
       [LOINC_CODE], 
       "Y" AS [ACTIVE], 
       "SYSDATE" AS [TIMESTAMP], 
       "1" AS [MODIFIED_BY] 
FROM [Sheet1$]

这会抛出错误

  

“没有给出一个或多个必需参数的值。”

有谁能告诉我这句话有什么问题?

0 个答案:

没有答案