SQL > MYSQL - LIBRARY > mysql 스트링 함수들
 
SQL
MYSQL
MS-SQL
ORACLE
 
 
MYSQL - LIBRARY
  HOME > SQL > MYSQL - LIBRARY
 
mysql 스트링 함수들
작성일 : 11-11-03
조회 : 1,866  
Name Description
ASCII() Return numeric value of left-most character
BIN() Return a string representation of the argument
BIT_LENGTH() Return length of argument in bits
CHAR_LENGTH() Return number of characters in argument
CHAR() Return the character for each integer passed
CHARACTER_LENGTH() A synonym for CHAR_LENGTH()
CONCAT_WS() Return concatenate with separator
CONCAT() Return concatenated string
CONV() Convert numbers between different number bases
ELT() Return string at index number
<=> NULL-safe equal to operator
= Equal operator
EXPORT_SET() Return a string such that for every bit set in the value bits, you get an on string and for every unset bit, you get an off string
FIELD() Return the index (position) of the first argument in the subsequent arguments
FIND_IN_SET() Return the index position of the first argument within the second argument
FORMAT() Return a number formatted to specified number of decimal places
>= Greater than or equal operator
> Greater than operator
HEX() Return a string representation of a hex value
INSERT() Insert a substring at the specified position up to the specified number of characters
INSTR() Return the index of the first occurrence of substring
IS NULL NULL value test
LCASE() Synonym for LOWER()
LEFT() Return the leftmost number of characters as specified
LENGTH() Return the length of a string in bytes
<= Less than or equal operator
< Less than operator
LIKE Simple pattern matching
LOAD_FILE() Load the named file
LOCATE() Return the position of the first occurrence of substring
LOWER() Return the argument in lowercase
LPAD() Return the string argument, left-padded with the specified string
LTRIM() Remove leading spaces
MAKE_SET() Return a set of comma-separated strings that have the corresponding bit in bits set
MID() Return a substring starting from the specified position
!=, <> Not equal operator
NOT LIKE Negation of simple pattern matching
NOT REGEXP Negation of REGEXP
OCT() Return a string representation of the octal argument
OCTET_LENGTH() A synonym for LENGTH()
ORD() If the leftmost character of the argument is a multi-byte character, returns the code for that character
POSITION() A synonym for LOCATE()
QUOTE() Escape the argument for use in an SQL statement
REGEXP Pattern matching using regular expressions
REPEAT() Repeat a string the specified number of times
REPLACE() Replace occurrences of a specified string
REVERSE() Reverse the characters in a string
RIGHT() Return the specified rightmost number of characters
RLIKE Synonym for REGEXP
RPAD() Append string the specified number of times
RTRIM() Remove trailing spaces
SOUNDEX() Return a soundex string
SOUNDS LIKE(v4.1.0) Compare sounds
SPACE() Return a string of the specified number of spaces
STRCMP() Compare two strings
SUBSTRING_INDEX() Return a substring from a string before the specified number of occurrences of the delimiter
SUBSTRING(), SUBSTR() Return the substring as specified
TRIM() Remove leading and trailing spaces
UCASE() Synonym for UPPER()
UNHEX()(v4.1.2) Convert each pair of hexadecimal digits to a character
UPPER() Convert to uppercase

 

http://dev.mysql.com/doc/refman/4.1/en/string-functions.html


 
 

Total 13
번호 제   목 조회
13 mysqladmin 사용법 1333
12 mysql 스트링 함수들 1867
11 PHP 와 MySQL 을 사용시 트랜잭션을 처리하는 방법 입니다. 2329
10 mysql DB 자동 백업 설정 하기 (1) 5290
9 Mysql 날짜관련 함수 모음 4240
8    Mysql 날짜함수를 이용한 데이터 가져오기 (date_add, date_sub… 3988
7 JOIN 문 left outer join 2806
6 MySql 기본명령어 모음[콘솔사용시] 3546
5 MySQL 덤프방법(dump) 4601
4 MySQL 에서 사용되는 sql문 정리[DB 자체 처리] 2291
3 mysql 유저 생성, 권한 부여 2882
2    mysql 유저 생성, 권한 부여 4911
1    mysql 유저 생성, 권한 부여 3
 
개인홈페이지 덤벙닷컴은 프로그래머와 디자이너위한 IT커뮤니티 공간입니다.
Copyright ⓒ www.dumbung.com. All rights reserved.