Home:ALL Converter>MySQL: CONCAT_WS function is running on local but not on server

MySQL: CONCAT_WS function is running on local but not on server

Ask Time:2010-09-24T19:02:43         Author:Naveed

Json Formatter

Some days ago I asked a question about my problem and I was advised to use CONCAT_WS function. I am using CONCAT_WS on my local mysql database and it is working perfectly. But it is not working on server(application hosted) and generate the following error.

FUNCTION test.CONCAT_WS does not exist

Here test in error string is my database name on server.

My query is like this:

SELECT * FROM patient WHERE CONCAT_WS (',', LastName,FirstName,BirthDate ) NOT IN ('Abdul,Quddus,2000-09-30','Wasim,Akram,1993-09-12');

Can someone tell me the problem or suggest me another solution asked in linked question above ?

Thanks

Author:Naveed,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/3786378/mysql-concat-ws-function-is-running-on-local-but-not-on-server
yy