mysql - STR_TO_DATE returns blob value -


this question has answer here:

i don't understand why mysql returns blob value here :

select dat_real, str_to_date(dat_real, '%d-%m-%y') `entretiens` dat_real <> '' 

from phpmyadmin : enter image description here

clicking on blob link leads me page saying request =

select str_to_date(dat_real, '%d-%m-%y') 'entretiens' 'entretiens'.'dat_real' = '02-09-2010' , .'str_to_date(dat_real, '%d-%m-%y')' = '2010-09-02';

type of dat_real varchar(12)

please specify data type of "dat_real" field. , please ensure must string, since str_to_date accepts first parameter date in string format.


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -