الانتقال إلى المحتوى
View in the app

A better way to browse. Learn more.

مجموعة مستخدمي أوراكل العربية

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Trigger to add 6 month to inserted date

Featured Replies

بتاريخ:

its urgent please i need help
i want to make a trigger in such a way that when insert
a date lets say '1-1-2006' lets say FIXING_DATE
it will automaticallyl add six months to it and and will insert to the same row '1-7-2006' lets name it COMING_FIXING_DATE
until here no problem but the problem is when this date'1-7-2006'
comes it has to insert automatically a new row which will have FIXING_DATE as '1-7-2006' and COMING_FIXING-DATE as 1-1-2007


PLEASE I HAVE DONE ALOT OF THINGS IN THIS PROGRAMME AND THIS IS THE ONLY THING REMAINING FOR ME SO THAT MY PROGRMME WILL BE ACCEPTED

بتاريخ:

add_months(COMING_FIXING_DATE,6)

بتاريخ:

salam alekom wa ra7mat allah wa brakatoh

the funtion add_months(x,y)

take 2 parameters
x is any date from variable or from a function like sysdate or any where .
y is the number of months y want to add

if u want to add 6 months write 6 or 7 write 7

this is what i can tell u now .if that not the answer i think i do not understand your problem so u can write it more clear .

da3watek

انضم إلى المناقشة

يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.

زائر
أضف رد على هذا الموضوع...

برجاء الإنتباه

بإستخدامك للموقع فأنت تتعهد بالموافقة على هذه البنود: سياسة الخصوصية

Account

Navigation

البحث

إعداد إشعارات المتصفح الفورية

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.