Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- String Functions and Date Operators
- 방화벽
- Data and Time Functions
- SVN
- 오라클
- Oracle
- Tibero
- HTTP
- 전자정부표준프레임워크
- Date and Time Functions
- String Function and Operators
- 윈도우
- Date and Time Function
- Sring Functions and Operators
- String Functions and Operators
- 티베로
- MySQL
- 전자정부 표준프레임워크
Archives
- Today
- Total
웹이야기
[MySQL] REPLACE() 본문
MySQL 문자열 함수와 연산자
REPLACE()
- 문자열 치환
REPLACE(str, from_str, to_str)
의 형태
Returns the string str with all occurences of the string from_str replaced by string to_str. REPLACE() performs a case-sensitive match when searching for from_str.
mysql> SELECT REPLACE('오늘은 검색 오늘은', '오늘은', '내일은');
+-----------------------------------------------------------------+
| REPLACE('오늘은 검색 오늘은', '오늘은', '내일은') |
+-----------------------------------------------------------------+
| 내일은 검색 내일은 |
+-----------------------------------------------------------------+
1 row in set (0.00 sec)
This function is multibyte safe.
'D > MySQL' 카테고리의 다른 글
[MySQL] RIGHT() (0) | 2020.04.20 |
---|---|
[MySQL] REVERSE() (0) | 2020.04.20 |
[MySQL] REPEAT() (0) | 2020.04.20 |
[MySQL] QUOTE() (0) | 2020.04.20 |
[MySQL] POSITION() (0) | 2020.04.20 |