Write a Oracle SQL statement to get the last date of the current month

  • اوراكل

Write a Oracle SQL statement to get the last date of the current month.

الأجوبة

SELECT TRUNC (LAST_DAY (SYSDATE)) "Last day of current month" FROM DUAL;

Output:

 

  	Last day of current month
1	2/28/2021 12:00:00 AM
هل كان المحتوى مفيد؟

معلومات ذات صلة

تبحث عن مدرس اونلاين؟

محتاج مساعدة باختيار المدرس الافضل؟ تواصل مع فريقنا الان لمساعدتك بتأمين افضل مدرس
ماهو التخصص الذي تبحث عنه؟
اكتب هنا...