How do I use TRUNC in Oracle database?

The TRUNC meaning can utilized to around a dateTime charge downward to a bold granularity. Since the accuracy of DATE is to the second (& no portions of seconds), there is no require to TRUNC at the entire. The Oracle/PLSQL TRUNC purpose revisits a date truncated to a detailed component of compute.
Anonymous User
Anonymous User
Asked Sep 23, 2015
The Oracle TRUNC() function returns a DATE value truncated to a specified unit.

Syntax
The following shows the syntax of the Oracle TRUNC() function:

TRUNC(date, format)
Arguments
The TRUNC() function accepts two arguments:

1) date
The date argument is a DATE value or an expression that evaluates to a DATE value that will be truncated.

2) format
The format argument determines the unit to which the date will be truncated.

The format argument is optional. Its default value is DD that instructs the TRUNC() function to truncate the date to midnight. Learn for more OnlineITGuru
mahesh32
Answered Mar 15, 2021
Hello Guys! I am Juliet Hilton. I live in Uk I’m 42 Years old, am so happy I got my blank ATM card from Calvin Grayson. My blank ATM card can withdraw £5,500 daily. I got it from Him last week and now I have withdrawn about £350,000 for free. The blank ATM withdraws money from any ATM machine and there is no name on it because it is blank just your PIN Only. It is not traceable and now I have money for business, shopping and enough money for me and my family to live on. I am really glad and happy I met Calvin Grayson because I met Five people before him and they could not help me. But am happy now Calvin Grayson sent the card through UPS and I got it in two days. Get your own card from him right now, he is giving it out for an affordable fee to help the poor even if it is illegal but it helps a lot and no one ever gets caught or traced. I’m happy and grateful to Calvin Grayson because he changed my story all of a sudden. The card works in all countries that is the good news if you are interested in getting yours : email: [email protected]
juliethilton
Answered Mar 15, 2021

TIP: If it's not your answer to this question, please click "Leave a Comment" button under the question to communicate with the question owner.

Categories