SQL and PL/SQL
Oracle SQL and PL/SQL | Queries | DML & DDL statements | Functions | Procedures | Triggers and Packages
لغة الإستعلام SQL
5,153 موضوعات في هذا القسم
-
-
-
hi everybody, I would like if possible, I create a table where there is a sequence that increments automatically as soon as you register a new lighne,I do not know how, thank you very much
-
كيف يمكن عمل اسم الـ sequence عبارة عن بارمتير اي عند عمل select منه تكون بهذا الشكل select ab.nextval from dual حيث ان ab عبارة عن بارامتر به اسم sequence
-
i forgot how to get the ip address of the server any body can help
-
ماهى ال SESSION و ما هى الفائده منها و كيف تستخدم ؟؟؟؟؟؟؟؟ و لكم منى خالص الشكر و الاحترام ايهاب وجدى
-
من فضلكم كنت عاوز اعرف ايه الفرق بين : مصطلح schema ومصطلح session وشكرا...................
-
as you probably know , "autocommit" is false by default . I want to make it true as soon as I log in from a Delphi program . the problem is that "set autocommit on/off" is sql-plus command , so no way to call it from pl-sql procedure , another problem is that command ( set autocommit ) is session-dependent , so setting it from one terminal program will not affect another terminal . thanks
-
السلام عليكم ورحمة الله وبركاته من فضلكم كنت عاوز مساعدة في حل بعض الامثلة المتعلقة ب Set operators 1. The HR department needs a list of department IDs for departments that do not contain the job ID ST_CLERK. Use set operators to create this report. 2. The HR department needs a list of countries that have no departments located in them. Display the country ID and the name of the countries. Use set operators to create this report. 3. Produce a list of jobs for departments 10, 50, and 20, in that order. Display job ID and department ID using set operators. 4. Create a report that lists the employee IDs and job IDs of those employees who currently have …
-
السلام عليكم ورحمة الله وبركاته اصدقائي عندي سؤال على sql constraints وهو انني اردت تعديل constraint على جدول معين ولكن المشكلة انني نسيت اسم هذا الconstraint فهل يوجد امر في sql يعرض لي اسماء الconstraint وفي اي جداول هي.
-
can any one explain the side effects of using function with sql expression ? this will be more powerfull if there's example with it
-
السـلام عليكم و رحمة الله و بركاته الرجـاء المساعدة ، لمن لديه أي ملفات خاصة لدراسة الأوراكل E-Business أو Orcale Forms9i باستخدام الـ Skill Builder ، لأني بفضل الله بدأت الدراسة للحصول على OCA و من ثم الـ OCP في Oracle Developer. ، و أريد أن أدخل عالم الـ E-Business suite من بعدها . الرجاء الارسال على هذا البريد الالكتروني و جزاكم الله فردوسه الأعلى و شربة هنيئة من يده أو من يد حبيبه المصطفى - صلى الله عليه وسلم -. [email protected]
-
السلام عليكم ما هو SNAPSHOT VIEW؟ و كيف يمكنني استخدامه؟؟؟
-
سلام عليكم أعجبني هذا الSolid فاردت ان تروه وتعطوني رايكم اتفضلوا Les01.rar
-
1 )use 'for each row' triggers to record what happen . 2 )use statement triggers to do the action that you cannot do in row triggers . I spoke generally , because much details are related to the project you work on. Best regards. [/align]
-
Dear all You can sort string alphabetically in oracle from below post http://mahmoudoracle.blogspot.com/2012/04/sort-string-in-plsql.html Thanks
-
Dear all I created function in below post which sort string in PLSQL http://mahmoudoracle.blogspot.com/2012/04/sort-string-in-plsql.html Thanks
-
الإخوه الكرام السلام عليكم ورحمة الله وبركاته تواجهني مشكله في ال isql plus وذلك عندما أحاول عمل load لي sql script file تظهر لي هذه الرساله SP2-0869 Invalid file content أرجو من المنتدى الكريم مساعدتي في حل هذه المشكله ولكم مني جزيل الشكر والسلام عليكم ورحمه الله أخوكم خالد
-
السلام عليكم ورحمة الله وبركاته عندي مشكله مشيباني ومش لاقيلها مخرج المشكله ببساطه اني بأخزن ناتج SQl في file i want to append 3 balnk spaces at the end of each result line my sql commands is : SET FEEDBACK OFF SET SHOW OFF SET TRIMSPOOL ON spool c:\my_file.txt select 'x ' from dual; spool off the problem is :the generated output file doesn't have the trailing blanks after char x and if i cahnge TRIMSPOOL to be OFF the genererated file will have many of unwanted lines as you will see next ------------------------- SQL> select 'x ' from dual; x …
-
السلام عليكم انا عضو جديد بالمنتدى و الرجاء المساعدة انا درست الاوركل قبل 3 سنوات و من و قتها ما اشتغلت عليها مع اني وقتها كمن كتير مبدع فيها بس مجال عملي خلاني بعيد عن الاوركل و الان اجتني فرصه عمل كتير ممتازه بس عالاوركل و بدي طريقه اتزكر الاوركل فيها الرجاء المساعده
-
SQL 1-query statement بيان الأستعلام Select 2-Data Definition language(DDL)لغة تعريف البيانات Create,alter,drop,truncate 3-Data manuplation language(DML)العمليات المؤقتة Insert,update,delete 4-transaction control language(TCL)لغة مراقبة المعاملات تتحكم في العمليات المؤقتة Commit,rollback,Savepoint 5-Data Control language(DCL)لغة التحكم في البيانات grant,revoke هذا وجزاكم الله خير وبالتوفيق
-
chapter 1 practice 1 Initiate an SQL* PLUS session using the user ID and password provided by the instructor using-id: Scott password:tiger True 2sql*plus commands access the database- true/false true The following select statement executes successfully select last_name,job_id,salary AS sal ;from employees true/false true The following select statement executes successfully * select ;from job_grades true/false false There are four coding errors in this statement can you identify them select employee_id, last_name salx12 ANNUAL SALARY ;from employees false show the structure of the departments table,select all data f…
-
chapter 1 show the structure of the Employees table.create a query to display the last name,job code,hire date,and employee number for each employee, with employee number appearing first.provide an alias startdate for the hire_date column ;desc employees Run your query in the file lab_7.sql select employee_id,last_name,job_id,hire_date "start date" ;from employees create a query to display uniquejob codes from the employees table select job_id ;from employees copy the statement from lab_7 sql into the sql*plus Edit window ,#name the column headings Emp employee,job,and hire date respectively "select employee_id "emp " last_n…
-
-
لو سمحت ياجماعة انا اريد الشرح التفصيلى( Oracle Database 10g SQL Fundamentals II ) ياريت كتاب مترجم (الحمد الله الذى فضلنا على كثير من عباده المؤمنين, اللهم انى اعوذ بك من علم لاينفع , ومن قلب لايخشع ,ومن نفس لاتشبع , ومن دعه لايستجاب لها. اللهم يامصوب خطأ الدعاء بإلا تجيب ,فلذلك تحمى من الضر من يدعو بالبشر دعاءه بالخير سبحانك ولاتقال الا لك : حذرتنا ألانحكم فيما لانعلم حتى لانحكم الاهواء فى تزين مانشاء وحسبنا من قولك عسى ان تحبو ا وعسى ان تكرهوا ماأيده الواقع من شر فيما نحب ومن فيما نكره) صلى وبارك على سيدنا محمد صلى الله عليه وسلم