الانتقال إلى المحتوى
View in the app

A better way to browse. Learn more.

مجموعة مستخدمي أوراكل العربية

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

هل ممكن عمل primary key من خلال الـrownum

Featured Replies

بتاريخ:

السلام عليكم ورحمه الله وبركاته
اخوتي هل من الممكن عمل primary key من خلال الـrownum لجدول به بيانات وكالتالي
update table_name
set col_name=i
where rownum=i
واحد الاخوة قال سابق با هذا ممكن وهذا نص ما قاله فهل هذا ممكن
update %tablename %
set %pk_col%rownuml

بتاريخ:

Please Read the topic

http://www.araboug.org/ib/index.php?sho...t=0entry25778
OR
you can update the pk field of ur table in another way like
update emp
set id = rownum
but in this case u have no control on the order of the updated rows
i.e u may want to make pk = 1 for first hired emp and pk=2 for second hired and etc .
by type such update u not able to do that.

تم تعديل بواسطة hussien.fawzy

بتاريخ:
  • كاتب الموضوع

جزاك الله خيرا اخي حسين وبارك الله فيك فقد نجحت الطريقة معي وبارك الله بلاخ اسامة وان اسف جدا لتضييع وقتكم الثمين في اسئلتي القديمة

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

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

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

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

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

Account

Navigation

البحث

إعداد إشعارات المتصفح الفورية

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.