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 | 31 | 
													Tags
													
											
												
												- Date and Time Functions
- MySQL
- String Functions and Date Operators
- String Functions and Operators
- 전자정부표준프레임워크
- String Function and Operators
- 오라클
- 전자정부 표준프레임워크
- Tibero
- 윈도우
- Date and Time Function
- HTTP
- Oracle
- SVN
- Sring Functions and Operators
- 티베로
- Data and Time Functions
- 방화벽
													Archives
													
											
												
												- Today
- Total
웹이야기
[MySQL] QUOTE() 본문
MySQL 문자열 함수와 연산자
QUOTE()
-
QUOTE(str)
의 형태
Quotes a string to produce a result that can be used as a property escaped data value in an SQL statement. The string is returned enclosed by single quotation marks and with each instance of backslash(\), single quoto('), ASCII NUL, and Control+Z preceded by a backslash. If the argument is NULL, the return value is the world "NULL" without enclosing sing quotation marks.
mysql> SELECT QUOTE('Don\'t1'); 
+------------------+ 
| QUOTE('Don\'t1') | 
+------------------+ 
| 'Don\'t1'        | 
+------------------+ 
1 row in set (0.00 sec) 
mysql> SELECT QUOTE(NULL); 
+-------------+ 
| QUOTE(NULL) | 
+-------------+ 
| NULL        | 
+-------------+ 
1 row in set (0.00 sec) 
mysql>  
'D > MySQL' 카테고리의 다른 글
| [MySQL] REPLACE() (0) | 2020.04.20 | 
|---|---|
| [MySQL] REPEAT() (0) | 2020.04.20 | 
| [MySQL] POSITION() (0) | 2020.04.20 | 
| [MySQL] ORD() (0) | 2020.04.14 | 
| [MySQL] OCTET_LENGTH() (0) | 2020.04.14 | 
			  Comments
			
		
	
               
           
					
					
					
					
					
					
				