Question:

How do i write a function in PL/SQL which returns current date and time in number format.?

by  |  earlier

0 LIKES UnLike

How do i write a function in PL/SQL which returns current date and time in number format.?

 Tags:

   Report

3 ANSWERS


  1. Java question and answer-http://javaanswers1.blogspot.com/


  2. Not sure what you mean by number format, but if you want to use SQL to select the day, month, year, hour minute etc value, you can use:

    SELECT DATEPART(day, SelectingDate) from TABLE

    Where SelectingDate is the field you want to get the values from.

    Change day with month year etc  

  3. select CURDATE() from dual;

Question Stats

Latest activity: earlier.
This question has 3 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions