Solved

phpMyAdmin - CHARINDEX does not exist

Posted on 2011-09-16
2
1,875 Views
Last Modified: 2012-05-12
I am getting an error in phpmyadmin. When I try to run this query:

SELECT LEFT( name , CHARINDEX( ' ', name ) - 1 ) FROM `jos_users`

I get the error:
#1305 - FUNCTION rrcna.CHARINDEX does not exist

I thought that CHARINDEX was a standard function. Do I need to somehow install this function?

Thanks
0
Comment
Question by:elliottbenzle
2 Comments
 
LVL 82

Accepted Solution

by:
hielo earned 500 total points
ID: 36550065
0
 
LVL 4

Author Closing Comment

by:elliottbenzle
ID: 36550385
Thanks.
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

More Fun with XML and MySQL – Parsing Delimited String with a Single SQL Statement Are you ready for another of my SQL tidbits?  Hopefully so, as in this adventure, I will be covering a topic that comes up a lot which is parsing a comma (or other…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question