일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- MySQL
- 윈도우
- 방화벽
- 티베로
- Tibero
- Date and Time Functions
- Date and Time Function
- String Function and Operators
- String Functions and Operators
- 오라클
- 전자정부표준프레임워크
- Oracle
- Sring Functions and Operators
- HTTP
- SVN
- Data and Time Functions
- 전자정부 표준프레임워크
- String Functions and Date Operators
- Today
- Total
웹이야기
[MySQL] LOAD_FILE() 본문
MySQL 문자열 함수와 연산자
LOAD_FILE()
-
LOAD_FILE(file_name)
의 형태
Reads the file and returns the file contents as a string. To use this function, the file must be located on the server host, you must specify the full path name to the file, and you must have the FILE privilege. The file must be readable by the server and its size less than max_allowed_packet bytes. If the secure_file_priv system variable is set to a nonempty directory name, the file to be loaded must be located in that directory. (Prior to MySQL 8.0.17, the file must be readable by all, not just readable by the server.)
If the file does not exist or cannnot be read because one of the preceding conditions is not satisfied, the function returns NULL.
The character_set_filesystem system variable controls interpretation of file names that are given as literal string.
'D > MySQL' 카테고리의 다른 글
[MySQL] LPAD() (0) | 2020.04.14 |
---|---|
[MySQL] LOWER() (0) | 2020.04.14 |
[MySQL] LEFT() (0) | 2020.04.14 |
[MySQL] LCASE() (0) | 2020.04.13 |
[MySQL] INSTR() (0) | 2020.04.13 |