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

  • اوراكل

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

الأجوبة

Oracle Code:

SELECT TRUNC (SYSDATE, 'MONTH') "First day of current month "FROM DUAL;

Output:

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

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

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

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