بتاريخ: 21 أغسطس 200619 سنة comment_77023 السلام عليكملدى جملة UPDATE موضوعة على فورم تقوم هذة الجملة بتعديل اكثر من سجل داخل الجدول فيجب ان اضعها داخل Loopاريد ان اعرف كيف يتم تنفيذ هذا البرنامج update man_data_cars_h set man_data_cars_h.man_dc_future10 = (select test.man_dc_future10 from test ,man_data_cars_h where man_data_cars_h.man_dc_number1 = test.man_dc_number1 and man_data_cars_h.man_dc_number2 = test.man_dc_number2 and man_data_cars_h.man_dc_number3 = test.man_dc_number3 and man_data_cars_h.man_dc_number4 = test.man_dc_number4 and man_data_cars_h.man_dc_number5 = test.man_dc_number5 and man_data_cars_h.man_dc_number6 = test.man_dc_number6) تقديم بلاغ
بتاريخ: 21 أغسطس 200619 سنة comment_77046 ممكن تستخدم declare cursor c is select conf_id from confrees where conf_id>:conf_id for update; begin for i in c loop update confrees set conf_id=i.conf_id-1 where current of c; end loop; commit; end; ممكن تغير فى على تفكيركايهاب وجدى تقديم بلاغ
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.