Reena is working with functions of MySQL. Explain her following: (i) What is the purpose of now () function? (ii) How many parameters does it accept?

Reena is working with functions of MySQL. Explain the following:

(A) What is the purpose of curdate () function?
(B) How many parameters does it accept?
(C) What is the general format of its return type?





(A) The purpose of curdate () function is to returns the current date.

(B) Curdate () function have no any parameters to accept.
(C) The general format of its return type is returned as "YYYY-MM-DD" (string) or as YYYYMMDD (numeric).

إرسال تعليق

0 تعليقات