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

Ora-00932 Inconsistent Data Type When I Run The Report

Featured Replies

بتاريخ:

Hello Experts,



I have report to display data about employee and data contains image ,



that report was working fine when i was executing the report with oracle apps 11i and data type was LONG RAW for image field


whereas when i transfered into oracle apps R12 the IMAGE column data type in PER_IMAGES table is BLOB



Can anyone help me clearly to write the the main select in order to display image in the report.



main select :


 [/left]


[left]select  k.parent_id,k.image
from
per_images k
[/left]




Thanks in advance

بتاريخ:

السلام عليكم


U can do it this way



Step1: select the data in BLOB d/b column into a BLOB variable.



Step2: Use "dbms_load.read(lob_loc IN BLOB,amount IN OUT BINARY_INTEGER,offset IN INTEGER,buffer OUT RAW)" to read the data in BLOB variable into a RAW variable.



Step3: Insert the value in RAW variable (buffer) in to another table with a LONG RAW column. (The data in a RAW variable can be inserted into a LONG RAW d/b column).



Hope this servers your purpose.

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

وعليكم السلام ورحمة الله وبركاته


It's Worked , i appreciation that




Thanks very much!!!

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

It worked By your way that you posted



Thank you for a helping

تم تعديل بواسطة malik alwadi

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

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

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

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

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

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.