# File Load

**\[MENU] > \[Tool] > \[File Load]** 기능을 사용하여 CSV, TXT, Excel 파일의 데이터를 데이터베이스의 테이블에 입력할 수 있다.

File Load 기능은 [#file-settings](#file-settings "mention"), [#load-settings](#load-settings "mention"), [#execution-summary](#execution-summary "mention") 의 단계로 구성되어 있다.

<figure><img src="/files/SR44jWRYnWLWEAJU7y0Y" alt=""><figcaption><p>File Load 화면</p></figcaption></figure>

## File Settings

File Settings 에서는 Load 작업을 수행할 Connection, 파일 경로를 설정한다.

각 항목은 필수 선택 값이다.

<figure><img src="/files/0Mnxcczn7wxc5uGyQyPR" alt=""><figcaption><p>File Load - File Settings 화면</p></figcaption></figure>

<table><thead><tr><th width="122.181884765625">필드</th><th>설명</th></tr></thead><tbody><tr><td><strong>Connection</strong></td><td>현재 생성되어 있는 Connection 들 중 Load 작업을 수행할 Connection 을 선택한다.</td></tr><tr><td><strong>Source File</strong></td><td>데이터베이스 테이블에 입력할 데이터 파일을 선택한다.</td></tr></tbody></table>

## Load Settings

Load Settings 에서는 Load 수행 시 추가 옵션들을 선택한다.

[#load-option](#load-option "mention"), [#table-option](#table-option "mention"), [#advanced-option](#advanced-option "mention"), [#date-format](#date-format "mention") 이 있다.

### Load Option

* Excel 파일일 경우

  <figure><img src="/files/b3f6qFLS8mQcuFrNGFoS" alt=""><figcaption><p>File Load - Load Settings - Load Option (Excel 파일일 경우)</p></figcaption></figure>

  <table><thead><tr><th width="180.90911865234375">필드</th><th>설명</th></tr></thead><tbody><tr><td><strong>Load only first sheet</strong></td><td>Excel 파일의 첫 번째 시트의 데이터만 테이블에 입력할지 여부를 선택한다.</td></tr></tbody></table>

* CSV, TXT 파일일 경우

  <figure><img src="/files/9USavHonTlhxgHhHTIWB" alt=""><figcaption><p>File Load - Load Settings - Load Option (CSV, TXT 파일일 경우)</p></figcaption></figure>

  <table><thead><tr><th width="148.1817626953125">필드</th><th>설명</th></tr></thead><tbody><tr><td><strong>Field Delimiter</strong></td><td>각 필드를 구분하는 문자를 선택한다.</td></tr><tr><td><strong>Field Qualifier</strong></td><td>각 필드의 시작과 끝을 감싸는 문자를 선택한다.</td></tr></tbody></table>

  \
  선택한 Field Delimiter, Field Qualifier 의 값이 파일에 작성한 내용과 일치하지 않을 경우, 파일의 데이터를 정상적으로 불러오지 못할 수 있으므로 유의해야 한다.

### Table Option

<figure><img src="/files/H4r9WmvyvN7wf4aFlSeh" alt=""><figcaption><p>File Load - Load Settings - Table Option</p></figcaption></figure>

<table><thead><tr><th width="174.9090576171875">필드</th><th>설명</th></tr></thead><tbody><tr><td><strong>Destination Table</strong></td><td>파일의 데이터를 입력할 테이블을 선택한다.</td></tr><tr><td><strong>Before loading</strong></td><td>기존 테이블의 데이터를 Delete, Truncate 할 지 여부를 선택한다.<br>None 을 선택할 경우 기존 테이블 데이터에 대한 작업을 수행하지 않는다.</td></tr></tbody></table>

<figure><img src="/files/gRDKmWqR2zjMNXiX7LMM" alt=""><figcaption><p>Select Table 화면</p></figcaption></figure>

**\[Insert 버튼]**&#xC744; 클릭하여 테이블을 선택할 수 있다.

<figure><img src="/files/F37Lk4lUV0E3tkFaIkNK" alt=""><figcaption><p>Column List Editor 창</p></figcaption></figure>

테이블을 선택하면 **Column List Editor 창**이 생성되어 테이블의 컬럼과 파일의 데이터를 확인할 수 있다.

테이블의 컬럼을 기준으로 파일의 컬럼을 선택하여 편집할 수 있다.

Not Null 컬럼의 경우 Set Null 옵션을 설정할 수 없다.

#### Advanced Option

<figure><img src="/files/Jb5JGDixt1zj920gUSqv" alt=""><figcaption><p>File Load - Load Settings - Advanced Option</p></figcaption></figure>

<table><thead><tr><th width="250.36370849609375">필드</th><th>설명</th></tr></thead><tbody><tr><td><strong>Direct Path Load</strong></td><td>Direct Path Load 를 사용할 지 여부를 선택한다.<br><strong>해당 옵션 선택 시 One Transaction 옵션은 항상 적용된다</strong>.</td></tr><tr><td><strong>First line as a column header</strong></td><td>데이터를 불러올 파일의 첫번째 라인이 column header 인지 선택한다.</td></tr><tr><td><strong>Include Row Number(#)</strong></td><td>파일의 row number 가 포함되어 있는지 선택한다.</td></tr><tr><td><strong>Remove trailing spaces</strong></td><td>데이터의 문자열에 불필요한 space를 제거할지 선택한다.</td></tr><tr><td><strong>One Transaction</strong></td><td>Load 작업의 commit 단위를 선택한다.<br>해당 옵션을 선택할 경우 Load 작업 수행 종료 시 한번의 commit 만 수행한다.</td></tr><tr><td><strong>Batch Execution</strong></td><td>Batch 단위를 선택한다.</td></tr></tbody></table>

### Date Format

<figure><img src="/files/jz9A25hX2qrsAUluJszS" alt=""><figcaption><p>File Load - Load Settings - Date Format</p></figcaption></figure>

<table><thead><tr><th width="204.9090576171875">필드</th><th>설명</th></tr></thead><tbody><tr><td><strong>File Date Format</strong></td><td>테이블에 입력할 DATE 타입 컬럼의 Format 을 선택한다.</td></tr><tr><td><strong>File Timestamp Format</strong></td><td>테이블에 입력할 TIMESTAMP 타입 컬럼의 Format 을 선택한다.</td></tr><tr><td><strong>File Time Format</strong></td><td>테이블에 입력할 TIME 타입 컬럼의 Format 을 선택한다.</td></tr></tbody></table>

## Execution Summary

<figure><img src="/files/iznVMXey7xTXgXr8B1yb" alt=""><figcaption><p>File Load - Execution Summary</p></figcaption></figure>

Execution Summary 에서는 수행한 Load 작업의 Source File, Log, Result 정보를 확인할 수 있다.

###


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tibero.com/tiberostudio/about/tool/file-load-unload/file-load.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
