SELECT LOCATE('A',BINARY 'abc'); : LOCATE « String « SQL / MySQL






SELECT LOCATE('A',BINARY 'abc');

    
mysql>
mysql> SELECT LOCATE('A',BINARY 'abc');
+--------------------------+
| LOCATE('A',BINARY 'abc') |
+--------------------------+
|                        0 |
+--------------------------+
1 row in set (0.00 sec)

mysql>

   
    
    
    
  








Related examples in the same category

1.LOCATE(, )
2.LOCATE(, , )
3.SELECT LOCATE('A','abc');