mahmoudward بتاريخ: 15 مارس 2006 تقديم بلاغ مشاركة بتاريخ: 15 مارس 2006 I'm trying to update a record in block that I based on an updatable view.I can update the record using SQL*Plus.I getFRM-40602: Cannot insert into or update data in a viewIs it not possible to update, insert, or delete records from the detail table of a view based on a master-detail relationship?Thanksmahmoud ward اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
ABUSANAD بتاريخ: 18 مارس 2006 تقديم بلاغ مشاركة بتاريخ: 18 مارس 2006 You can't perform any DML in view in the following conditions:-1- DML may affect the relation between the basic master table and child.2- View been created by ORDER BY clause.3- View been created using GROUP BY function.4- View been create using WHERE clause which prevent you from performing DML statements.5- View made of two or more tables(Complex View).Some DML operations may apply for previous conditions but under restricted use. اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
ABUSANAD بتاريخ: 18 مارس 2006 تقديم بلاغ مشاركة بتاريخ: 18 مارس 2006 الاخ السائل اعتذر لخطا غير مقصود وهو انك لاتستطيع استخدام ORDER BY مع ال VIEW ولكن مع ال Inline View. اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
informat بتاريخ: 23 مارس 2006 تقديم بلاغ مشاركة بتاريخ: 23 مارس 2006 أخي يمكنك استخدام Dml triggers لكي تستطيع إنجاز Insert داخل view اقتباس رابط هذا التعليق شارك المزيد من خيارات المشاركة
Recommended Posts
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.