BEKO بتاريخ: 19 أبريل 2005 تقديم بلاغ مشاركة بتاريخ: 19 أبريل 2005 يا شباب أقوم بعمل برنامج كبير يقوم فيه اكثر من خمسين موظف بالدخول الى قاعدة البيانات في نفس الوقت وتسجيل البيانات فكيف أضمن ان لا يتم أنتهاك قيد المفاتيح الأساسية للجداول هل يقوم أوركل بذلك بشكل تلقائي او يجب إتخاذ إجراءات معينةيمكن تشبيه المشكلة بمكتب سفريات حيث لا يمكن ان يحجز المقعد على الطائرة أكثر من مسافر. اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
m_azab بتاريخ: 24 أبريل 2005 تقديم بلاغ مشاركة بتاريخ: 24 أبريل 2005 MR.beko u can give DML privilage in dfferant table only for 5 or 6 user to make the dml commend i think this good soluation but if u don't make this the oracle server make lock on the table who execute on it the DML commend without make commitex: if u have the employee table the structure of the employee table as following: ssn number PK f_name varchar2 l_name varchar2 email varchar2 uk if the user1 make the insert statment (or any DML statment) in the table employee but without make commint the recrd who inserted :-- (1,'mohammed','mohammed','[email protected]') and the user2 wont make insert (or any DML statment) in the table employee the oracle server will make lock in the table employee untill the user1 make commintif u don't increase anything in the life been incresed in the life اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
Recommended Posts
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.