الانتقال إلى المحتوى
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.

interval year to month,or day to second

Featured Replies

بتاريخ:

السلام عليكم ورحمة الله وبركاته،،
i know that "interval . . ." data type for a period between two dates, but what i dont understand is what are the ways or the formulas to insert ,interval data, by. i need examples pls in arabic,and thx to u for even try to help, :( god pless u all

  • بعد 3 أسابيع...
بتاريخ:

أعتقد اني فهمت قصدك وهذا هو المثال:
create table time_example
(loan_duration interval year (3) to month);======================================
insert into time_example
values(interval '120' month (3));
======================================
select to_char(sysdate+loan_duration, 'dd-mon-yyyy') from time_example;
-- today date is 26-sep-2001 output will be 26-sep-2011 ويا ريت ترد علي اذا كان هذا الذي ما تريده
:D

time_interval.txt

بتاريخ:
  • كاتب الموضوع

بسم الله الرحمن الرحيم


بارك الله فيك يا gold_hacker على مجرد الرد !!!
اخيرا لقيت واحد مهتم بهاي النقطة... :D
ولكن مقصودي هو ما هي حالات الادخال لهذا النوع من البيانات..يعني انت ذكرت حالة موجودة في الكتاب :

insert into time_example values(interval '120' month (3));


انا اريد حالات ادخال اخرى ....الكتاب يذكر العديد من الحالات والامثلة على شكل هذه الحالات ولكن بدون ال syntax لكيفية ادخالها...
وجزاك الله خيرا على تفاعلك

  • بعد 3 سنة...
بتاريخ:

thank you very much

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

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

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

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

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

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.