Location via proxy:
[ UP ]
[Report a bug]
[Manage cookies]
No cookies
No scripts
No ads
No referrer
Show this form
Home
MySQL Tutorial
Introduction
Select Query
Database
Table
Table Join
Subquery
Insert Update Delete
Logic Operator
View
Data Types
Procedure Function
Cursor
Trigger
Date Time Functions
Comparison Functions Operators
Aggregate Functions
Cast Functions Operators
Control Flow Functions
Encryption Compression Functions
Information Functions
Math Numeric Functions
Miscellaneous Functions
String Functions
Regular Expressions
Data Dictionary
MySQL Utilities
Privilege
LOCATE « String Functions « MySQL Tutorial
MySQL Tutorial
String Functions
LOCATE
23.23.LOCATE
23.23.1.
LOCATE(substr,str): Returns the position of the first occurrence of substring substr in string str
23.23.2.
LOCATE 'a' letter in the first name
23.23.3.
LOCATE(substr,str,pos)