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

مساعدة فى Cursor

Featured Replies

بتاريخ:

السلام عليكم انا عامل form (master-detail)

بس الديتيل فيه ايتم مش داتا بيز ايتم عايز بعد مايعمل الكويرى يحط الداتا بتاعت الكويرى فى الايتم

select :p1+ rownum -1 dt 
    from dual 
    connect by level <= to_date(:p2,'DD-MM-YYYY') - to_date(:p1, 'DD-MM-YYYY') + 1
    minus
     
    select transaction_date
    from transaction
    where 
    transaction_date 
    between:p1 and :p2

ممكن مساعدة

بتاريخ:

السلام عليكم

لست بحاجة إلى Cursor فقط على ترجر Post-Query اكتب جملة السيليكت ولكن الجمله السابقة يوجد بها مشكلة حيث انه عند استخدام Minus يجب أن تكون الأعمده متشابهه في كل من الكويري الاولى والثانية.

 

 

 

Select Col1
  Into :Blk_1.Col1
  From Table
 Where PK = :Blk_1.PK
 

 

 

 

مثال توضيحي على Minus بعض النظر عن النتيجة:

 

 

ELECT empno
  FROM emp
MINUS
SELECT empno
  FROM emp
 
بتاريخ:
  • كاتب الموضوع

انا عملت كده الاول زى مانت كاتب ومابيحصلش حاجة ولا كانها موجودة

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

---------------------------post_query------------------------
select :employee.from_date+ rownum -1 dt into :block.item
    from dual
    connect by level <= to_date(:employee.to_date,'DD-MM-YYYY') - to_date(:employee.from_date,'DD-MM-YYYY') + 1
    minus
     
    select transaction_date
    from transaction
    where
    transaction_date
    between :employee.from_date and  :employee.to_date
    and (emp_id=:employee.emp_id or emp_id is null)
    and company_id=:employee.company_id
    ;
 

تم تعديل بواسطة Ahmad.Hasan

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

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

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

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

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

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.