Monday, 3 September 2018
Subscribe to:
Post Comments (Atom)
str_to_date(myfield, '%d-%M-%Y'), and date_format(myfield, '%d-%M-%Y'), but it shows no rows.SELECT * FROM table where str_to_date(date, '%d-%M-%Y') = '20-June-2015';
Date_FormatDate_Format(date, '%d-%M-%Y')
SELECT * FROM table where Date_Format(date, '%d-%M-%Y') = '20-June-2015';
str_to_date like that :-SELECT * FROM table where date= str_to_date('20-June-2015', '%d-%M-%Y')
Hello Friends! I am Ramana a part time blogger from Hyderabad.
0 comments:
Post a Comment