共用方式為


XlParameterDataType 列舉 (Excel)

會指定查詢參數的資料類型。

名稱 描述
xlParamTypeBigInt -5 大整數。
xlParamTypeBinary -2 二 進 制。
xlParamTypeBit -7 位。
xlParamTypeChar 1 字串。
xlParamTypeDate 9 日期。
xlParamTypeDecimal 3 小數點。
xlParamTypeDouble 8 雙。
xlParamTypeFloat 6 浮動。
xlParamTypeInteger 4 整數。
xlParamTypeLongVarBinary -4 長二進位。
xlParamTypeLongVarChar -1 長字串。
xlParamTypeNumeric 2 數位。
xlParamTypeReal 7 真正。
xlParamTypeSmallInt 5 小整數。
xlParamTypeTime 10 時間。
xlParamTypeTimestamp 11 時間戳記。
xlParamTypeTinyInt -6 微整數。
xlParamTypeUnknown 0 未知類型。
xlParamTypeVarBinary -3 可變長度二進位。
xlParamTypeVarChar 12 可變長度字串。
xlParamTypeWChar -8 Unicode 字元字串。

支援和意見反應

有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應