반응형
ADODB를 사용하시는 분들은 다 아시겠지만,
제가 ADODB를 잘 사용하지 않아서 적어 둡니다.어제 오늘 삽질을 좀 했거든용
adFloat라는 DataType이 없네용
T.T
아래 표에 따르면 adDouble로 변경해 주어야 합니다.
| DataType Enum | Value | Access | SQLServer | Oracle |
|---|---|---|---|---|
| adBigInt | 20 | BigInt (SQL Server 2000 +) | ||
| adBinary | 128 | Binary TimeStamp |
Raw * | |
| adBoolean | 11 | YesNo | Bit | |
| adChar | 129 | Char | Char | |
| adCurrency | 6 | Currency | Money SmallMoney |
|
| adDate | 7 | Date | DateTime | |
| adDBTimeStamp | 135 | DateTime (Access 97 (ODBC)) | DateTime SmallDateTime |
Date |
| adDecimal | 14 | Decimal * | ||
| adDouble | 5 | Double | Float | Float |
| adGUID | 72 | ReplicationID (Access 97 (OLEDB)), (Access 2000 (OLEDB)) | UniqueIdentifier (SQL Server 7.0 +) | |
| adIDispatch | 9 | |||
| adInteger | 3 | AutoNumber Integer Long |
Identity (SQL Server 6.5) Int |
Int * |
| adLongVarBinary | 205 | OLEObject | Image | Long Raw * Blob (Oracle 8.1.x) |
| adLongVarChar | 201 | Memo (Access 97) Hyperlink (Access 97) |
Text | Long * Clob (Oracle 8.1.x) |
| adLongVarWChar | 203 | Memo (Access 2000 (OLEDB)) Hyperlink (Access 2000 (OLEDB)) |
NText (SQL Server 7.0 +) | NClob (Oracle 8.1.x) |
| adNumeric | 131 | Decimal (Access 2000 (OLEDB)) | Decimal Numeric |
Decimal Integer Number SmallInt |
| adSingle | 4 | Single | Real | |
| adSmallInt | 2 | Integer | SmallInt | |
| adUnsignedTinyInt | 17 | Byte | TinyInt | |
| adVarBinary | 204 | ReplicationID (Access 97) | VarBinary | |
| adVarChar | 200 | Text (Access 97) | VarChar | VarChar |
| adVariant | 12 | Sql_Variant (SQL Server 2000 +) | VarChar2 | |
| adVarWChar | 202 | Text (Access 2000 (OLEDB)) | NVarChar (SQL Server 7.0 +) | NVarChar2 |
| adWChar | 130 | NChar (SQL Server 7.0 +) |
* In Oracle 8.0.x - decimal and int are equal to number and number(10).
반응형
'DATABASE' 카테고리의 다른 글
| CUBRID NULL 처리 (0) | 2016.01.07 |
|---|---|
| 빅데이터 커뮤니티에서 7월 9일 빅데이터 오픈소스 플랫폼 기술 세미나를 진행 합니다. (1) | 2012.07.03 |
| [데이터베이스] NULL 값 처리 하기 IFNULL(MySQL), NVL(Oracle), ISNULL(MSSQL) (0) | 2010.08.27 |
| [데이터베이스] 문자열 더하기 CONCAT (0) | 2010.08.24 |
| smartSQL for Oracle 주소 기록 (0) | 2010.01.06 |