> For the complete documentation index, see [llms.txt](https://docs.tibero.com/tibero-manuals/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tibero.com/tibero-manuals/7.2.6.manuals/tbcli-guide/tbcli-error-messages.md). Agents can also search and read this documentation through its [MCP server](https://docs.tibero.com/tibero-manuals/~gitbook/mcp).

# tbCLI 에러 메시지

tbCLI 에서 사용하는 에러 메시지를 기술합니다.

## 반환 코드

모든 tbCLI 함수는 실행 후 반환 코드를 제공합니다. 반환 코드는 **SQLRETURN** 타입이며 미리 정해진 값 중 하나입니다.

tbCLI 함수는 아래 표의 반환 코드에 따라 tbCLI 프로그램의 상태를 확인할 수 있습니다.

<table><thead><tr><th width="258">반환 코드</th><th>설명</th></tr></thead><tbody><tr><td>SQL_SUCCESS</td><td>함수가 성공적으로 완료된 상태</td></tr><tr><td>SQL_SUCCESS_WITH_INFO</td><td>함수가 성공적으로 완료되었으나, 경고 메시지가 있는 상태</td></tr><tr><td>SQL_NO_DATA</td><td><p>함수가 성공적으로 완료되었으나, 관련된 데이터를 찾을 수 없는 상태</p><p>(예: 주어진 SQL 문장에 의해 갱신된 로우가 없는 경우)</p></td></tr><tr><td>SQL_INVALID_HANDLE</td><td>입력 파라미터에 주어진 핸들이 유효하지 않은 상태</td></tr><tr><td>SQL_NEED_DATA</td><td><p>SQL 문장을 실행하기 위해 데이터가 더 필요한 상태</p><p>(예: 파라미터)</p></td></tr><tr><td>SQL_STILL_EXECUTING</td><td>이전에 실행한 SQL 문장이 완료되지 않은 상태</td></tr><tr><td>SQL_ERROR</td><td>치명적인 에러가 발생한 상태</td></tr></tbody></table>

반환 코드에는 추가 SQLSTATE 정보가 포함될 수 있습니다.

{% hint style="info" %}
SQLSTATE에 대한 내용은 관련 API나 “[SQLSTATE](#sqlstate)”를 참고합니다.
{% endhint %}

## SQLSTATE

본 절에서는 SQLSTATE 정보를 코드 순으로 나열하고 이를 설명합니다. 추가로 해당 SQLSTATE 코드를 반환할 수 있는 함수도 포함하여 기술합니다.

#### 00000

**00000**

<table data-header-hidden><thead><tr><th width="171"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>함수가 성공적으로 완료된 상태</td></tr><tr><td><strong>함수</strong></td><td>모든 함수</td></tr></tbody></table>

#### 01000 \~ 01007

**01000**

<table data-header-hidden><thead><tr><th width="167"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>일반적인 경고를 뜻하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLError, SQLGetDiagField, SQLGetDiagRec를 제외한 모든 함수</td></tr></tbody></table>

**01001**

<table data-header-hidden><thead><tr><th width="171"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>커서 연산이 충돌했을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLExecDirect, SQLExecute, SQLParamData, SQLSetPos</td></tr></tbody></table>

**01002**

<table data-header-hidden><thead><tr><th width="173"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>데이터베이스 연결을 해제하는 중에 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLError, SQLGetDiagField, SQLGetDiagRec</td></tr></tbody></table>

**01003**

<table data-header-hidden><thead><tr><th width="178"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>설정된 함수에서 NULL 값을 제거한 경우에 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLExecDirect, SQLExecute, SQLParamData</td></tr></tbody></table>

**01004**

<table data-header-hidden><thead><tr><th width="176"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>문자열 데이터가 오른쪽에서 잘릴 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBrowseConnect, SQLBulkOperations, SQLColAttribute, SQLDataSources, SQLDescribeCol, SQLDriverConnect, SQLDrivers, SQLExecDirect, SQLExecute, SQLExtendedFetch, SQLFetch, SQLFetchScroll, SQLGetConnectAttr, SQLGetCursorName, SQLGetData, SQLGetDescField, SQLGetDescRec, SQLGetEnvAttr, SQLGetInfo, SQLGetStmtAttr, SQLNativeSql, SQLParamData, SQLPutData, SQLSetCursorName</td></tr></tbody></table>

**01006**

<table data-header-hidden><thead><tr><th width="179"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>취소되지 않은 특권일 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLExecDirect, SQLExecute, SQLParamData</td></tr></tbody></table>

**01007**

<table data-header-hidden><thead><tr><th width="184"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>부여되지 않은 특권일 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLExecDirect, SQLExecute, SQLParamData</td></tr></tbody></table>

#### **01S00 \~ 01S09**

**01S00**

<table data-header-hidden><thead><tr><th width="180"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>유효하지 않은 연결 문자열의 속성일 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBrowseConnect, SQLDriverConnect</td></tr></tbody></table>

**01S01**

<table data-header-hidden><thead><tr><th width="175"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>로우에 에러가 있는 경우 발생</td></tr><tr><td><strong>함수</strong></td><td>SQLBulkOperations, SQLExtendedFetch, SQLSetPos</td></tr></tbody></table>

**01S02**

<table data-header-hidden><thead><tr><th width="169"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>옵션 값이 변경되었을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td><p>다음의 함수를 제외한 모든 함수</p><p>SQLBrowseConnect, SQLConnect, SQLDriverConnect, SQLExecDirect, SQLExecute, SQLParamData, SQLPrepare, SQLSetConnectAttr, SQLSetDescField, SQLSetEnvAttr, SQLSetStmtAttr</p></td></tr></tbody></table>

**01S06**

<table data-header-hidden><thead><tr><th width="171"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>결과 집합의 첫 번째 로우가 반환되기 전에 페치를 시도한 경우 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLExtendedFetch, SQLFetchScroll</td></tr></tbody></table>

**01S07**

<table data-header-hidden><thead><tr><th width="169"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>숫자 타입이나 날짜 타입의 일부 정보가 잘릴 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBulkOperations, SQLExecDirect, SQLExecute, SQLExtendedFetch, SQLFetch, SQLFetchScroll, SQLGetData, SQLParamData, SQLSetPos</td></tr></tbody></table>

**01S08**

<table data-header-hidden><thead><tr><th width="178"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>DSN 파일(.dsn)을 저장하지 못할 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLDriverConnect</td></tr></tbody></table>

**01S09**

<table data-header-hidden><thead><tr><th width="181"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>잘못된 예약어일 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLDriverConnect</td></tr></tbody></table>

#### **02000**

**02000**

<table data-header-hidden><thead><tr><th width="186"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>함수가 성공적으로 완료되었으나, 관련된 데이터를 찾을 수 없는 상태</td></tr><tr><td><strong>함수</strong></td><td>모든 함수</td></tr></tbody></table>

#### **07001 \~ 07009**

**07001**

<table data-header-hidden><thead><tr><th width="195"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>파라미터의 숫자가 잘못되었을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLExecDirect, SQLExecute</td></tr></tbody></table>

**07002**

<table data-header-hidden><thead><tr><th width="198"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>COUNT 필드에 오류가 있는 경우에 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLExecDirect, SQLExecute, SQLParamData</td></tr></tbody></table>

**07005**

<table data-header-hidden><thead><tr><th width="199"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>커서의 범위가 아닌 준비된 문장인 경우에 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLColAttribute, SQLDescribeCol</td></tr></tbody></table>

**07006**

<table data-header-hidden><thead><tr><th width="206"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>제한된 데이터 타입의 속성에 위배될 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBindCol, SQLBindParameter, SQLBulkOperations, SQLExecDirect, SQLExecute, SQLExtendedFetch, SQLFetch, SQLFetchScroll, SQLGetData, SQLParamData, SQLPutData, SQLSetPos</td></tr></tbody></table>

**07009**

<table data-header-hidden><thead><tr><th width="207"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>잘못된 서술자 인덱스일 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBindCol, SQLBindParameter, SQLBulkOperations, SQLColAttribute, SQLDescribeCol, SQLDescribeParam, SQLFetch, SQLFetchScroll, SQLGetData, SQLGetDescField, SQLGetDescRec, SQLParamData, SQLSetDescField, SQLSetDescRec, SQLSetPos</td></tr></tbody></table>

#### **07S01**

**07S01**

<table data-header-hidden><thead><tr><th width="217"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>디폴트 파라미터를 잘못 사용한 경우 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLExecDirect, SQLExecute, SQLParamData, SQLPutData</td></tr></tbody></table>

#### **08001 \~ 08007**

**08001**

<table data-header-hidden><thead><tr><th width="212"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>클라이언트가 데이터소스에 연결할 수 없을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBrowseConnect, SQLConnect, SQLDriverConnect</td></tr></tbody></table>

**08002**

<table data-header-hidden><thead><tr><th width="212"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>이미 사용 중인 데이터베이스 연결명일 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBrowseConnect, SQLConnect, SQLDriverConnect, SQLSetConnectAttr</td></tr></tbody></table>

**08003**

<table data-header-hidden><thead><tr><th width="214"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>연결이 존재하지 않을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLAllocHandle, SQLDisconnect, SQLEndTran, SQLGetConnectAttr, SQLGetInfo, SQLNativeSql, SQLSetConnectAttr</td></tr></tbody></table>

**08004**

<table data-header-hidden><thead><tr><th width="213"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>서버가 연결을 거부할 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBrowseConnect, SQLConnect, SQLDriverConnect</td></tr></tbody></table>

**08007**

<table data-header-hidden><thead><tr><th width="212"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>트랜잭션을 수행하는 중에 연결이 실패한 경우 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLEndTran</td></tr></tbody></table>

#### **08S01**

**08S01**

<table data-header-hidden><thead><tr><th width="206"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>통신 연결이 실패한 경우 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td><p>SQLBrowseConnect, SQLColumnPrivileges, SQLColumns, SQLConnect, SQLCopyDesc, SQLDescribeCol, SQLDescribeParam, SQLDriverConnect, SQLExecDirect, SQLExecute, SQLExtendedFetch, SQLFetch, SQLFetchScroll, SQLForeignKeys, SQLGetConnectAttr, SQLGetData, SQLGetDescField, SQLGetDescRec, SQLGetFunctions, SQLGetInfo, SQLGetTypeInfo, SQLMoreResults, SQLNativeSql, SQLNumParams, SQLNumResultCols, SQLParamData, SQLPrepare, SQLPrimaryKeys, SQLProcedureColumns, SQLProcedures, SQLPutData, SQLSetConnectAttr, SQLSetDescField, SQLSetDescRec, SQLSetEnvAttr,</p><p>SQLSetStmtAttr, SQLSpecialColumns, SQLStatistics, SQLTablePrivileges, SQLTables</p></td></tr></tbody></table>

#### **21S01 \~ 21S02**

**21S01**

<table data-header-hidden><thead><tr><th width="201"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>삽입될 값의 리스트가 컬럼과 일치하지 않을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLExecDirect, SQLPrepare</td></tr></tbody></table>

**21S02**

<table data-header-hidden><thead><tr><th width="206"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>파생된 테이블의 degree가 컬럼과 일치하지 않을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBulkOperations, SQLExecDirect, SQLExecute, SQLParamData, SQLPrepare, SQLSetPos</td></tr></tbody></table>

#### **22001 \~ 22026**

**22001**

<table data-header-hidden><thead><tr><th width="207"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>문자열 데이터가 오른쪽에서 잘릴 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBulkOperations, SQLExecDirect, SQLExecute, SQLFetch, SQLFetchScroll, SQLParamData, SQLPutData, SQLSetDescField, SQLSetPos</td></tr></tbody></table>

**22002**

<table data-header-hidden><thead><tr><th width="207"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>지시자 변수가 요구되었으나, 제공되지 않았을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLExecDirect, SQLExecute, SQLExtendedFetch, SQLFetch, SQLFetchScroll, SQLGetData, SQLParamData</td></tr></tbody></table>

**22003**

<table data-header-hidden><thead><tr><th width="209"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>한정된 범위를 초과한 숫자 값일 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBulkOperations, SQLExecDirect, SQLExecute, SQLExtendedFetch, SQLFetch, SQLFetchScroll, SQLGetData, SQLGetInfo, SQLParamData, SQLPutData, SQLSetPos</td></tr></tbody></table>

**22007**

<table data-header-hidden><thead><tr><th width="211"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>유효하지 않은 날짜형(DATETIME) 형식일 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBulkOperations, SQLExecDirect, SQLExecute, SQLExtendedFetch, SQLFetch, SQLFetchScroll, SQLGetData, SQLParamData, SQLPutData, SQLSetPos</td></tr></tbody></table>

**22008**

<table data-header-hidden><thead><tr><th width="210"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>날짜형 필드에 오버플로우가 발생했을 때 나타나는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBulkOperations, SQLExecDirect, SQLExecute, SQLParamData, SQLPutData</td></tr></tbody></table>

**22012**

<table data-header-hidden><thead><tr><th width="211"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>0으로 나누었을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td><p>SQLExecDirect, SQLExecute, SQLExtendedFetch, SQLFetch, SQLFetchScroll,</p><p>SQLGetData, SQLParamData, SQLPutData</p></td></tr></tbody></table>

**22015**

<table data-header-hidden><thead><tr><th width="210"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>INTERVAL 필드에 오버플로우가 발생했을 때 나타나는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBulkOperations, SQLExecDirect, SQLExecute, SQLExtendedFetch, SQLFetch, SQLFetchScroll, SQLGetData, SQLParamData, SQLPutData, SQLSetPos</td></tr></tbody></table>

**22018**

<table data-header-hidden><thead><tr><th width="214"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>캐스트 설정을 위한 문자 값이 잘못된 경우에 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBulkOperations, SQLExecDirect, SQLExecute, SQLExtendedFetch, SQLFetch, SQLFetchScroll, SQLGetData, SQLParamData, SQLPutData, SQLSetPos</td></tr></tbody></table>

**22019**

<table data-header-hidden><thead><tr><th width="209"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>잘못된 이스케이프 문자일 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLExecDirect, SQLExecute, SQLPrepare</td></tr></tbody></table>

**22025**

<table data-header-hidden><thead><tr><th width="206"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>잘못된 이스케이프 시퀀스일 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLExecDirect, SQLExecute, SQLPrepare</td></tr></tbody></table>

**22026**

<table data-header-hidden><thead><tr><th width="207"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>잘못된 길이를 가진 문자열 데이터일 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLParamData</td></tr></tbody></table>

#### **23000, 24000, 25000**

**23000**

<table data-header-hidden><thead><tr><th width="208"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>무결성 제약조건에 위배될 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBulkOperations, SQLExecDirect, SQLExecute, SQLParamData, SQLSetPos</td></tr></tbody></table>

**24000**

<table data-header-hidden><thead><tr><th width="208"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>잘못된 커서 상태일 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBulkOperations, SQLCloseCursor, SQLColumnPrivileges, SQLColumns, SQLExecDirect, SQLExecute, SQLExtendedFetch, SQLFetch, SQLFetchScroll, SQLForeignKeys, SQLGetData, SQLGetStmtAttr, SQLGetTypeInfo, SQLNativeSql, SQLPrepare, SQLPrimaryKeys, SQLProcedureColumns, SQLProcedures, SQLSetConnectAttr, SQLSetCursorName, SQLSetPos, SQLSetStmtAttr, SQLSpecialColumns, SQLStatistics, SQLTablePrivileges, SQLTables</td></tr></tbody></table>

**25000**

<table data-header-hidden><thead><tr><th width="209"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>잘못된 트랜잭션 상태일 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLDisconnect</td></tr></tbody></table>

#### **25S01 \~ 25S03**

**25S01**

<table data-header-hidden><thead><tr><th width="202"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>트랜잭션 상태일 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLEndTran</td></tr></tbody></table>

**25S02**

<table data-header-hidden><thead><tr><th width="201"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>트랜잭션이 아직 활성화 중일 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLEndTran</td></tr></tbody></table>

**25S03**

<table data-header-hidden><thead><tr><th width="200"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>트랜잭션이 롤백되었을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLEndTran</td></tr></tbody></table>

#### **28000, 34000**

**28000**

<table data-header-hidden><thead><tr><th width="201"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>잘못된 권한을 설정했을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBrowseConnect, SQLConnect, SQLDriverConnect</td></tr></tbody></table>

**34000**

<table data-header-hidden><thead><tr><th width="202"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>잘못된 커서 이름일 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLExecDirect, SQLPrepare, SQLSetCursorName</td></tr></tbody></table>

#### **3C000 \~ 3F000**

**3C000**

<table data-header-hidden><thead><tr><th width="202"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>중복된 커서 이름일 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLSetCursorName</td></tr></tbody></table>

**3D000**

<table data-header-hidden><thead><tr><th width="202"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>잘못된 카탈로그 이름일 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLExecDirect, SQLPrepare, SQLSetConnectAttr</td></tr></tbody></table>

**3F000**

<table data-header-hidden><thead><tr><th width="203"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>잘못된 스키마 이름일 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLExecDirect, SQLPrepare</td></tr></tbody></table>

#### **40001 \~ 40003, 42000**

**40001**

<table data-header-hidden><thead><tr><th width="195"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>직렬화에 실패했을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBulkOperations, SQLColumnPrivileges, SQLColumns, SQLEndTran, SQLExecDirect, SQLExecute, SQLFetch, SQLFetchScroll, SQLForeignKeys, SQLGetTypeInfo, SQLMoreResults, SQLParamData, SQLPrimaryKeys, SQLProcedureColumns, SQLProcedures, SQLSetPos, SQLSpecialColumns, SQLStatistics, SQLTablePrivileges, SQLTables</td></tr></tbody></table>

**40002**

<table data-header-hidden><thead><tr><th width="200"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>무결성 제약조건에 위배될 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLEndTran</td></tr></tbody></table>

**40003**

<table data-header-hidden><thead><tr><th width="200"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>실행이 완료되지 않았고, 트랜잭션의 상태를 알 수 없을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td><p>SQLBulkOperations, SQLColumnPrivileges, SQLColumns, SQLExecDirect, SQLExecute,</p><p>SQLFetch, SQLFetchScroll, SQLForeignKeys, SQLGetTypeInfo, SQLMoreResults, SQLPrimaryKeys, SQLProcedureColumns, SQLProcedures, SQLParamData, SQLSetPos, SQLSpecialColumns, SQLStatistics, SQLTablePrivileges, SQLTables</p></td></tr></tbody></table>

**42000**

<table data-header-hidden><thead><tr><th width="212"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>문법 에러 또는 접근 위배가 발생한 경우 나타나는 에러</td></tr><tr><td><strong>함수</strong></td><td><p>SQLBulkOperations, SQLExecDirect, SQLExecute, SQLParamData, SQLPrepare,</p><p>SQLSetPos</p></td></tr></tbody></table>

#### **42S01 \~ 42S22, 44000**

**42S01**

<table data-header-hidden><thead><tr><th width="197"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>기반 테이블 또는 뷰가 이미 존재할 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLExecDirect, SQLPrepare</td></tr></tbody></table>

**42S02**

<table data-header-hidden><thead><tr><th width="195"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>기반 테이블 또는 뷰를 찾을 수 없을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLExecDirect, SQLPrepare</td></tr></tbody></table>

**42S11**

<table data-header-hidden><thead><tr><th width="192"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>인덱스가 이미 존재할 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLExecDirect, SQLPrepare</td></tr></tbody></table>

**42S12**

<table data-header-hidden><thead><tr><th width="193"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>인덱스를 찾을 수 없을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLExecDirect, SQLPrepare</td></tr></tbody></table>

**42S21**

<table data-header-hidden><thead><tr><th width="190"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>컬럼이 이미 존재할 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLExecDirect, SQLPrepare</td></tr></tbody></table>

**42S22**

<table data-header-hidden><thead><tr><th width="186"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>컬럼을 찾을 수 없을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLExecDirect, SQLPrepare</td></tr></tbody></table>

**44000**

<table data-header-hidden><thead><tr><th width="180"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>WITH CHECK OPTION에 위배될 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBulkOperations, SQLExecDirect, SQLExecute, SQLParamData, SQLSetPos</td></tr></tbody></table>

#### **HY000 \~ HY024**

**HY000**

<table data-header-hidden><thead><tr><th width="168"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>일반적인 에러를 뜻하는 에러</td></tr><tr><td><strong>함수</strong></td><td>(All ODBC functions except) SQLError, SQLGetDiagField, SQLGetDiagRec</td></tr></tbody></table>

**HY001**

<table data-header-hidden><thead><tr><th width="165"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>메모리 할당에 실패했을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>(All ODBC functions except) SQLError, SQLGetDiagField, SQLGetDiagRec</td></tr></tbody></table>

**HY003**

<table data-header-hidden><thead><tr><th width="163"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>잘못된 애플리케이션의 버퍼 타입일 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBindCol, SQLBindParameter, SQLGetData</td></tr></tbody></table>

**HY004**

<table data-header-hidden><thead><tr><th width="165"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>잘못된 SQL의 데이터 타입일 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBindParameter, SQLGetTypeInfo</td></tr></tbody></table>

**HY007**

<table data-header-hidden><thead><tr><th width="163"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>해당 문장이 준비되지 않았을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLCopyDesc, SQLGetDescField, SQLGetDescRec</td></tr></tbody></table>

**HY008**

<table data-header-hidden><thead><tr><th width="161"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>연산이 취소되었을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBulkOperations, SQLColAttribute, SQLColumnPrivileges, SQLColumns, SQLDescribeCol, SQLDescribeParam, SQLExecDirect, SQLExecute, SQLExtendedFetch, SQLFetch, SQLFetchScroll, SQLForeignKeys, SQLGetData, SQLGetTypeInfo, SQLMoreResults, SQLNumParams, SQLNumResultCols, SQLParamData, SQLPrepare, SQLPrimaryKeys, SQLProcedureColumns, SQLProcedures, SQLPutData, SQLSetPos,<br>SQLSpecialColumns, SQLStatistics, SQLTablePrivileges, SQLTables</td></tr></tbody></table>

**HY009**

<table data-header-hidden><thead><tr><th width="157"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>NULL 포인터를 잘못 사용했을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td><p>SQLAllocHandle, SQLBindParameter, SQLBulkOperations, SQLColumnPrivileges, SQLColumns, SQLExecDirect, SQLForeignKeys, SQLGetCursorName, SQLGetData, SQLGetFunctions, SQLNativeSql, SQLPrepare, SQLPrimaryKeys, SQLProcedureColumns, SQLProcedures, SQLPutData, SQLSetConnectAttr, SQLSetCursorName, SQLSetEnvAttr,</p><p>SQLSetStmtAttr, SQLSpecialColumns, SQLStatistics, SQLTablePrivileges, SQLTables</p></td></tr></tbody></table>

**HY010**

<table data-header-hidden><thead><tr><th width="158"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>함수 시퀀스에 문제가 있는 경우 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLAllocHandle, SQLBindCol, SQLBindParameter, SQLBulkOperations, SQLCloseCursor, SQLColAttribute, SQLColumnPrivileges, SQLColumns, SQLCopyDesc, SQLDescribeCol, SQLDescribeParam, SQLDisconnect, SQLEndTran, SQLExecDirect, SQLExecute, SQLExtendedFetch, SQLFetch, SQLFetchScroll, SQLForeignKeys, SQLFreeHandle, SQLFreeStmt, SQLGetConnectAttr, SQLGetCursorName, SQLGetData, SQLGetDescField, SQLGetDescRec, SQLGetFunctions, SQLGetStmtAttr, SQLGetTypeInfo, SQLMoreResults, SQLNumParams, SQLNumResultCols, SQLParamData, SQLPrepare, SQLPrimaryKeys, SQLProcedureColumns, SQLProcedures, SQLPutData, SQLRowCount, SQLSetConnectAttr, SQLSetCursorName, SQLSetDescField, SQLSetEnvAttr, SQLSetDescRec, SQLSetPos, SQLSetStmtAttr, SQLSpecialColumns, SQLStatistics, SQLTablePrivileges, SQLTables</td></tr></tbody></table>

**HY011**

<table data-header-hidden><thead><tr><th width="160"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>현재 설정될 수 없는 속성일 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBulkOperations, SQLParamData, SQLSetConnectAttr, SQLSetPos, SQLSetStmtAttr</td></tr></tbody></table>

**HY012**

<table data-header-hidden><thead><tr><th width="160"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>잘못된 트랜잭션의 연산 코드일 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLEndTran</td></tr></tbody></table>

**HY013**

<table data-header-hidden><thead><tr><th width="163"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>메모리 관리에 에러가 발생한 경우 나타나는 에러</td></tr><tr><td><strong>함수</strong></td><td>(All ODBC functions except) SQLGetDiagField, SQLGetDiagRec</td></tr></tbody></table>

**HY014**

<table data-header-hidden><thead><tr><th width="164"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>한정된 핸들 개수를 초과했을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLAllocHandle</td></tr></tbody></table>

**HY015**

<table data-header-hidden><thead><tr><th width="167"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>사용할 수 있는 커서 이름이 없을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLGetCursorName</td></tr></tbody></table>

**HY016**

<table data-header-hidden><thead><tr><th width="168"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>구현 로우 서술자를 수정할 수 없을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLCopyDesc, SQLSetDescField, SQLSetDescRec</td></tr></tbody></table>

**HY017**

<table data-header-hidden><thead><tr><th width="166"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>자동으로 할당된 서술자 핸들을 잘못 사용했을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLFreeHandle, SQLSetStmtAttr</td></tr></tbody></table>

**HY018**

<table data-header-hidden><thead><tr><th width="167"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>서버가 취소 요구를 거부했을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLCancel</td></tr></tbody></table>

**HY019**

<table data-header-hidden><thead><tr><th width="170"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>비문자열(Non-character)과 비이진 데이터(Non-binary data)를 여러 조각으로 나누어 보냈을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLPutData</td></tr></tbody></table>

**HY020**

<table data-header-hidden><thead><tr><th width="168"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>NULL 값을 접합하려고 시도했을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLPutData</td></tr></tbody></table>

**HY021**

<table data-header-hidden><thead><tr><th width="171"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>모순이 있는 서술자 정보일 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBindParameter, SQLCopyDesc, SQLGetDescField, SQLSetDescField, SQLSetDescRec</td></tr></tbody></table>

**HY024**

<table data-header-hidden><thead><tr><th width="174"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>잘못된 속성 값일 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLSetConnectAttr, SQLSetEnvAttr, SQLSetStmtAttr</td></tr></tbody></table>

#### **HY090 \~ HY111**

**HY090**

<table data-header-hidden><thead><tr><th width="168"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>잘못된 문자열 또는 버퍼 길이일 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBindCol, SQLBindParameter, SQLBrowseConnect, SQLBulkOperations, SQLColAttribute, SQLColumnPrivileges, SQLColumns, SQLConnect, SQLDataSources, SQLDescribeCol, SQLDriverConnect, SQLDrivers, SQLExecDirect, SQLExecute, SQLFetch, SQLFetchScroll, SQLForeignKeys, SQLGetConnectAttr, SQLGetCursorName, SQLGetData, SQLGetDescField, SQLGetInfo, SQLGetStmtAttr, SQLNativeSql, SQLParamData, SQLPrepare, SQLPrimaryKeys, SQLProcedureColumns, SQLProcedures, SQLPutData, SQLSetConnectAttr, SQLSetCursorName, SQLSetDescField, SQLSetDescRec, SQLSetEnvAttr, SQLSetStmtAttr, SQLSetPos, SQLSpecialColumns, SQLStatistics, SQLTablePrivileges, SQLTables</td></tr></tbody></table>

**HY091**

<table data-header-hidden><thead><tr><th width="166"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>잘못된 서술자의 필드 식별자일 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLColAttribute, SQLGetDescField, SQLSetDescField</td></tr></tbody></table>

**HY092**

<table data-header-hidden><thead><tr><th width="165"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>잘못된 속성 및 옵션 식별자일 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLAllocHandle, SQLBulkOperations, SQLCopyDesc, SQLDriverConnect, SQLEndTran, SQLFreeStmt, SQLGetConnectAttr, SQLGetEnvAttr, SQLGetStmtAttr, SQLParamData, SQLSetConnectAttr, SQLSetDescField, SQLSetEnvAttr, SQLSetPos, SQLSetStmtAttr</td></tr></tbody></table>

**HY095**

<table data-header-hidden><thead><tr><th width="169"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>영역 밖의 함수 타입인 경우 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLGetFunctions</td></tr></tbody></table>

**HY096**

<table data-header-hidden><thead><tr><th width="164"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>잘못된 정보 타입인 경우 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLGetInfo</td></tr></tbody></table>

**HY097**

<table data-header-hidden><thead><tr><th width="165"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>영역 밖의 컬럼인 경우 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLSpecialColumns</td></tr></tbody></table>

**HY098**

<table data-header-hidden><thead><tr><th width="163"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>영역 밖의 범위 타입인 경우 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLSpecialColumns</td></tr></tbody></table>

**HY099**

<table data-header-hidden><thead><tr><th width="163"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>영역 밖의 Nullable 타입인 경우 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLSpecialColumns</td></tr></tbody></table>

**HY100**

<table data-header-hidden><thead><tr><th width="160"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>영역 밖의 고유 옵션 타입인 경우 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLStatistics</td></tr></tbody></table>

**HY101**

<table data-header-hidden><thead><tr><th width="158"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>영역 밖의 정확도 옵션 타입인 경우 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLStatistics</td></tr></tbody></table>

**HY103**

<table data-header-hidden><thead><tr><th width="159"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>잘못된 검색(retrieval) 코드인 경우 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLDataSources, SQLDrivers</td></tr></tbody></table>

**HY104**

<table data-header-hidden><thead><tr><th width="160"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>잘못된 정밀도 또는 스케일 값인 경우 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBindParameter</td></tr></tbody></table>

**HY105**

<table data-header-hidden><thead><tr><th width="161"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>잘못된 파라미터 타입인 경우 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBindParameter, SQLExecDirect, SQLExecute, SQLParamData, SQLSetDescField</td></tr></tbody></table>

**HY106**

<table data-header-hidden><thead><tr><th width="160"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>영역 밖의 페치 타입인 경우 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLExtendedFetch, SQLFetchScroll</td></tr></tbody></table>

**HY107**

<table data-header-hidden><thead><tr><th width="158"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>영역 밖의 로우 값인 경우 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLExtendedFetch, SQLFetch, SQLFetchScroll, SQLSetPos</td></tr></tbody></table>

**HY109**

<table data-header-hidden><thead><tr><th width="157"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>잘못된 커서 위치일 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td><p>SQLExecDirect, SQLExecute, SQLGetData, SQLGetStmtAttr, SQLNativeSql,</p><p>SQLParamData, SQLSetPos</p></td></tr></tbody></table>

**HY110**

<table data-header-hidden><thead><tr><th width="158"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>잘못된 드라이버 완성(driver completion)일 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLDriverConnect</td></tr></tbody></table>

**HY111**

<table data-header-hidden><thead><tr><th width="155"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>잘못된 북마크 값인 경우 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLExtendedFetch, SQLFetchScroll</td></tr></tbody></table>

#### **HYC00**

**HYC00**

<table data-header-hidden><thead><tr><th width="144"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>구현되지 않은 선택적인 기능(Optional feature)을 사용하려 할 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBindCol, SQLBindParameter, SQLBulkOperations, SQLColAttribute, SQLColumnPrivileges, SQLColumns, SQLDriverConnect, SQLEndTran, SQLExecDirect, SQLExecute, SQLExtendedFetch, SQLFetch, SQLFetchScroll, SQLForeignKeys, SQLGetConnectAttr, SQLGetData, SQLGetEnvAttr, SQLGetInfo, SQLGetStmtAttr, SQLGetTypeInfo, SQLParamData, SQLPrepare, SQLPrimaryKeys, SQLProcedureColumns, SQLProcedures, SQLSetConnectAttr, SQLSetEnvAttr, SQLSetPos, SQLSetStmtAttr, SQLSpecialColumns, SQLStatistics, SQLTablePrivileges, SQLTables</td></tr></tbody></table>

#### **HYT00 \~ HYT01**

**HYT00**

<table data-header-hidden><thead><tr><th width="145"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>제한 시간을 초과했을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBrowseConnect, SQLBulkOperations, SQLColumnPrivileges, SQLColumns, SQLConnect, SQLDriverConnect, SQLExecDirect, SQLExecute, SQLExtendedFetch, SQLForeignKeys, SQLGetTypeInfo, SQLParamData, SQLPrepare, SQLPrimaryKeys, SQLProcedureColumns, SQLProcedures, SQLSetPos, SQLSpecialColumns, SQLStatistics, SQLTablePrivileges, SQLTables</td></tr></tbody></table>

**HYT01**

<table data-header-hidden><thead><tr><th width="143"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>데이터베이스 연결 제한 시간을 초과했을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td><p>(All ODBC functions except) SQLDrivers, SQLDataSources,</p><p>SQLGetEnvAttr, SQLSetEnvAttr</p></td></tr></tbody></table>

#### **IM001 \~ IM015**

**IM001**

<table data-header-hidden><thead><tr><th width="132"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>드라이버가 해당 함수를 제공하지 않을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td><p>(All ODBC functions except) SQLAllocHandle, SQLDataSources, SQLDrivers,</p><p>SQLFreeHandle, SQLGetFunctions</p></td></tr></tbody></table>

**IM002**

<table data-header-hidden><thead><tr><th width="138"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>데이터 소스의 이름을 찾을 수 없거나, 디폴트 드라이버가 존재하지 않을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBrowseConnect, SQLConnect, SQLDriverConnect</td></tr></tbody></table>

**IM003**

<table data-header-hidden><thead><tr><th width="132"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>지정한 드라이버를 로드할 수 없을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBrowseConnect, SQLConnect, SQLDriverConnect</td></tr></tbody></table>

**IM004**

<table data-header-hidden><thead><tr><th width="126"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>해당 드라이버에 SQLAllocHandle 함수를 이용한 환경 핸들 할당에 실패했을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBrowseConnect, SQLConnect, SQLDriverConnect</td></tr></tbody></table>

**IM005**

<table data-header-hidden><thead><tr><th width="126"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>해당 드라이버에 SQLAllocHandle 함수를 이용한 연결 핸들 할당에 실패했을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBrowseConnect, SQLConnect, SQLDriverConnect</td></tr></tbody></table>

**IM006**

<table data-header-hidden><thead><tr><th width="132"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>해당 드라이버에 SQLSetConnectAttr 함수를 이용한 데이터베이스 연결 속성 설정에 실패했을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBrowseConnect, SQLConnect, SQLDriverConnect</td></tr></tbody></table>

**IM007**

<table data-header-hidden><thead><tr><th width="135"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>데이터소스 또는 드라이버가 지정되지 않았을 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLDriverConnect</td></tr></tbody></table>

**IM009**

<table data-header-hidden><thead><tr><th width="140"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>Translation DLL를 로드하는 것이 불가능할 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBrowseConnect, SQLConnect, SQLDriverConnect, SQLSetConnectAttr</td></tr></tbody></table>

**IM010**

<table data-header-hidden><thead><tr><th width="144"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>데이터소스의 이름이 SQL_MAX_DSN_LENGTH 파라미터에 설정된 값보다 길 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBrowseConnect, SQLConnect, SQLDriverConnect</td></tr></tbody></table>

**IM011**

<table data-header-hidden><thead><tr><th width="144"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>드라이버 이름이 길 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBrowseConnect, SQLDriverConnect</td></tr></tbody></table>

**IM012**

<table data-header-hidden><thead><tr><th width="147"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>드라이버 예약어에 문법 에러가 발생했을 때 나타나는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLBrowseConnect, SQLDriverConnect</td></tr></tbody></table>

**IM013**

<table data-header-hidden><thead><tr><th width="149"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>트레이스 파일에 문제가 발생한 경우 나타나는 에러</td></tr><tr><td><strong>함수</strong></td><td>All ODBC functions</td></tr></tbody></table>

**IM014**

<table data-header-hidden><thead><tr><th width="149"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>잘못된 파일 DSN의 이름일 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLDriverConnect</td></tr></tbody></table>

**IM015**

<table data-header-hidden><thead><tr><th width="148"></th><th></th></tr></thead><tbody><tr><td><strong>설명</strong></td><td>손상된 파일의 데이터소스일 때 발생하는 에러</td></tr><tr><td><strong>함수</strong></td><td>SQLDriverConnect</td></tr></tbody></table>
