الانتقال إلى المحتوى

اسئلة مقابلة شخصية للفائدة


Transporter

Recommended Posts

السلام عليكم

هذة مقابلة شخصية اجريتها ، و احببت ان اشارككم بها لكي تعم الفائدة ونستفيد ايضا من حلولكم
متمنيا لكم كل التوفيق والنجاح

1) Please provide an example of a SQL script which includes selection of data from more than one table, and includes an outer join on a multiple column foreign key.

2) Please provide an example of a SQL script to create a primary key constraint on a table with its corresponding index storage definition.

3) Please provide an example of a PL/SQL script which exemplifies the most efficient use of the FOR...LOOP logic while working with a cursor.

4) What type of Oracle Forms trigger is best suited for populating foreign key lookup values when querying records?

5) Please provide a brief overview of how to create a dynamic list item in Oracle Forms.

6) Please provide a brief description of a specific application that you have worked on in a production environment using Oracle Forms or Oracle Reports.

رابط هذا التعليق
شارك

السلام عليكم
اولا اود الاطمئنان هل نجحت في المقابله وتيسرت امورك ان شاءالله ؟؟؟
اتمنى لك التوفيق وياريت كما قال اخي JORDAN ان تزودنا بالحلول...
بالتوفيق

رابط هذا التعليق
شارك

السلام عليكم
اشكر لكم تفاعلكم

وانا لا اعلم بصراحة هل نجحت ام لا
لأن الرد سيأتي الأسبوع المقبل ، وهذا ما جعلني انتظر اجابات الاعضاء
بالنسبة للاجابات التي اجبت بها سأطرحها إن شاء الله في اقرب فرصة

شكرا لكم مرة اخرى

رابط هذا التعليق
شارك

ان شاء الله هاتنجح
الحمد لله والصلاه والسلام علي رسول الله صلي الله عليه وسلم
اللهم ربنا يا اله كل شئ وخالق كل شئ لا تسالنا عن شئ واغفر لنا كل شئ
انا واخي الكريم واخواننا وجميع المسلمين والمسلمات والمؤمنين والمؤمنات من اول الخلق الي يوم الدين وكل من له علينا حق واغتبناه او بهتناه او نلنا منه بما لا يرضيك واجعله له نورا يوم القيامه
اللهم ربنا ما بيينا وبين جلالتك فاغفره لنا فانت الغفور الرحيم لا غفور غيرك وما بيننا وبين عبادك فتحمله عنا فانت الله الواحد القهار الديان الله امين وصلي اللهم علي سيدنا محمد وعلي اله وصحبه اجميعن ومن بتعه باحسان الي يوم الدين
امين امين امين امين امين

رابط هذا التعليق
شارك

السلام عليكم
هذة هي الاجابات التي اجبتها في المقابلة
بانتظار ملاحظاتكم متمنيا لكم كل التوفيق والنجاح

1) Please provide an example of a SQL script which includes selection of data from more than one table, and includes an outer join on a multiple column foreign key.

Example 1:
Let's we suppose that we have 3 tables
Table X  , with column a primary key
Table Y  , with column b primary key
Table Z  , with column a foreign key references to column a in table X and column b foreign key references to column b in table Y

to make SELECT  include outer join between tables select z.a,z.b from x,y,z where z.a=x.a(+) and z.b=y.b(+) 



Example 2 :

In this example we show (Left Outer Join ,Right Outer Join ) Let 's we suppose that we have 2 tables
Table X  , with column a primary key ,and other columns
Table Z  , with column a foreign key references to column a in table X , and other columns

Right Outer Join select x .a,z.a from x,z where x.a=z.a(+) 

Left Outer Join select x .a,z.a from x,z where x.a(+)=z.a


2) Please provide an example of a SQL script to create a primary key constraint on a table with its corresponding index storage definition.

Let's suppose that table Q need to add a prinary key (column a)
ALTER TABLE Q ADD (CONSTRAINT Q_PK PRIMARY KEY (a) USING INDEX  STORAGE (INITIAL          64K
                                                                        NEXT             64K
                                                                        MINEXTENTS       1
                                                                        MAXEXTENTS       2000000
                                                                        PCTINCREASE      50 ));

3) Please provide an example of a PL/SQL script which exemplifies the most efficient use of the FOR...LOOP logic while working with a cursor.
We use table scott.emp 

declare
 cursor get_1 is select empno,ename from emp; begin for i in get_1 loop
       dbms_output.put_line(i.empno||'  -  '||i.ename);
    end loop;
end;
/

4) What type of Oracle Forms trigger is best suited for populating foreign key lookup values when querying records?

POST-QUERY

5) Please provide a brief overview of how to create a dynamic list item in Oracle Forms.

We suppose that we make  list item  of column ename in table scott.emp

name of the list item is : EMP_NAME
In trigger WHEN-NEW-FORM-INSTANCE

Example 1:

declare
 cursor get_nm is select empno,ename from scott.emp; begin clear_list('EMP_NAME');
for x in get_nm loop
 add_list_element('EMP_NAME',1,x.ename,x.empno);
end loop;
end;

Example 2:
At first we make RECORDGROUP let's named ® and write the follwing select inside it :
select ename,to_char(empno) from scott.emp then In trigger WHEN-NEW-FORM-INSTANCE

declare
 x   number;
begin x  := populate_group ('R');
populate_list ('EMP_NAME' , 'R');

end;

6) Please provide a brief description of a specific application that you have worked on in a production environment using Oracle Forms or Oracle Reports.

Developer 2000,6i,10g
Developer 6i is the most product which I use it .

رابط هذا التعليق
شارك

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

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

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

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   تمت استعادة المحتوى السابق الخاص بك.   مسح المحرر

×   You cannot paste images directly. Upload or insert images from URL.

جاري التحميل
×
×
  • أضف...

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

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