한국어

Develop

Database ADO DataTypeEnum

2010.05.06 00:00

kaiserhan 조회 수:114958

DataTypeEnum

 

Specifies the data type of a Field, Parameter, or Property. The corresponding OLE DB type indicator is shown in parentheses in the description column of the following table.

 

For more information about OLE DB data types, see Data Types in OLE DB (OLE DB), and Appendix A: Data Types of the OLE DB Programmer's Guide.

 

ConstantValueDescription
AdArray0x2000A flag value, always combined with another data type constant, that indicates an array of the other data type. Does not apply to ADOX.
adBigInt20Indicates an eight-byte signed integer (DBTYPE_I8).
adBinary128Indicates a binary value (DBTYPE_BYTES).
adBoolean11Indicates a Boolean value (DBTYPE_BOOL).
adBSTR8Indicates a null-terminated character string (Unicode) (DBTYPE_BSTR).
adChapter136Indicates a four-byte chapter value that identifies rows in a child rowset (DBTYPE_HCHAPTER).
adChar129Indicates a string value (DBTYPE_STR).
adCurrency6Indicates a currency value (DBTYPE_CY). Currency is a fixed-point number with four digits to the right of the decimal point. It is stored in an eight-byte signed integer scaled by 10,000.
adDate7Indicates a date value (DBTYPE_DATE). A date is stored as a double, the whole part of which is the number of days since December 30, 1899, and the fractional part of which is the fraction of a day.
adDBDate133Indicates a date value (yyyymmdd) (DBTYPE_DBDATE).
adDBTime134Indicates a time value (hhmmss) (DBTYPE_DBTIME).
adDBTimeStamp135Indicates a date/time stamp (yyyymmddhhmmss plus a fraction in billionths) (DBTYPE_DBTIMESTAMP).
adDecimal14Indicates an exact numeric value with a fixed precision and scale (DBTYPE_DECIMAL).
adDouble5Indicates a double-precision floating-point value (DBTYPE_R8).
adEmpty0Specifies no value (DBTYPE_EMPTY).
adError10Indicates a 32-bit error code (DBTYPE_ERROR).
adFileTime64Indicates a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601 (DBTYPE_FILETIME).
adGUID72Indicates a globally unique identifier (GUID) (DBTYPE_GUID).
adIDispatch9Indicates a pointer to an IDispatch interface on a COM object (DBTYPE_IDISPATCH).

Note This data type is currently not supported by ADO. Usage may cause unpredictable results.

adInteger3Indicates a four-byte signed integer (DBTYPE_I4).
adIUnknown13Indicates a pointer to an IUnknown interface on a COM object (DBTYPE_IUNKNOWN).

Note This data type is currently not supported by ADO. Usage may cause unpredictable results.

adLongVarBinary205Indicates a long binary value.
adLongVarChar201Indicates a long string value.
adLongVarWChar203Indicates a long null-terminated Unicode string value.
adNumeric131Indicates an exact numeric value with a fixed precision and scale (DBTYPE_NUMERIC).
adPropVariant138Indicates an Automation PROPVARIANT (DBTYPE_PROP_VARIANT).
adSingle4Indicates a single-precision floating-point value (DBTYPE_R4).
adSmallInt2Indicates a two-byte signed integer (DBTYPE_I2).
adTinyInt16Indicates a one-byte signed integer (DBTYPE_I1).
adUnsignedBigInt21Indicates an eight-byte unsigned integer (DBTYPE_UI8).
adUnsignedInt19Indicates a four-byte unsigned integer (DBTYPE_UI4).
adUnsignedSmallInt18Indicates a two-byte unsigned integer (DBTYPE_UI2).
adUnsignedTinyInt17Indicates a one-byte unsigned integer (DBTYPE_UI1).
adUserDefined132Indicates a user-defined variable (DBTYPE_UDT).
adVarBinary204Indicates a binary value.
adVarChar200Indicates a string value.
adVariant12Indicates an Automation Variant (DBTYPE_VARIANT).

Note This data type is currently not supported by ADO. Usage may cause unpredictable results.

adVarNumeric139Indicates a numeric value.
adVarWChar202Indicates a null-terminated Unicode character string.
adWChar130Indicates a null-terminated Unicode character string (DBTYPE_WSTR).

 

 

번호 제목 글쓴이 날짜 조회 수
59 X-UA-Compatible 사용 시 유의사항 kaiserhan 2016.04.28 280185
» ADO DataTypeEnum kaiserhan 2010.05.06 114958
57 MSSQL 트랙잭션 로그 없이 대량 삭제 kaiserhan 2015.06.19 84350
56 무료 컴퓨터 원격 접속 프로그림 TightVNC Software[2013.11.26] kaiserhan 2013.11.26 68940
55 윈도우용 사파리 브라우저 다운로드 [2013.03.25] kaiserhan 2013.03.25 65059
54 플래시, 버튼 한번에 HTML5로 바꾼다 [2011.07.14] kaiserhan 2011.07.14 64703
53 http://cross-browser.com [2011.09.28] kaiserhan 2011.09.28 64696
52 Editplus ZenCoding [2012.05.24] kaiserhan 2012.05.24 64291
51 KISA 웹 기술지원센터 액티브X 대체기술 안내 [2011.07.14] kaiserhan 2011.07.14 63769
50 http://yuilibrary.com/yui/docs/examples/ [2011.09.28] kaiserhan 2011.09.28 63617
49 특정 영역에 innerHTML로 html tag를 입력 시 object의 Property값에 따른 쌍따옴표 문제 [2011.06.30] kaiserhan 2011.06.30 62166
48 css text-align 을 javascript로 변경 kaiserhan 2015.12.02 61088
47 Excel자료를 MSSQL로 import 시 문자열이 255자로 잘릴경우[2013.11.26] kaiserhan 2013.11.26 60922
46 MySQL to MSSQL2005 마이그레이션 [2010.11.23] kaiserhan 2010.11.23 59525
45 HTMLFixedHeaders [2011.03.17] kaiserhan 2011.03.17 58243
44 오라클 유니코드를 MSSQL 비유니코드 VARCHAR로 입력하는 법 [2011-07-26] kaiserhan 2011.07.26 57099
43 Flash를 웹브라우저에서 인쇄할 때 작아지는 문제 [2013.03.08] kaiserhan 2013.03.08 56972
42 Network 공유 폴더 login이 되지 않을 경우 [2012.06.11] kaiserhan 2012.06.11 56947
41 Excel Data를 MSSQL로 import시 에러 발생 [2010.10.05] kaiserhan 2010.10.05 56015
40 Windows 폴더의 파일리스트를 txt파일로 저장 [2010.12.22] kaiserhan 2010.12.22 54801