الانتقال إلى المحتوى
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.

مشكلة في حالة تكرار اسم المستخذم

Featured Replies

بتاريخ:

 

اخواني في المنتدي كل عام وانتم بخير 

اريد ان اسئل في هذة الشاشه اريد عندما ادخل اسم او رقم المستخدم مكرر يطلع لي ان اسم المستخدم ورقم المستخدم مكرر

وهذا هو الكود

وايضاًالصورة مرفقة اسفل  

---------------------------------


declare
x number;
x1 number;
begin
if :id_no is null 
or :user_name is null
or :password is null 
then
    set_alert_property('ALERT1',alert_message_text,'enter user number');
   x:=show_alert('ALERT1');
 go_item('ID_no');
raise form_trigger_failure;
else
   
 insert into  USERS(id_no ,user_name,password)
values(:id_no,:user_name,:password);
commit_form;
forms_ddl(' create user '||:user_name||' identified by '||:password);
forms_ddl(' grant create session to '||:user_name||' identified by '||:password);
forms_ddl(' grant create any table,create session to '||:user_name||' identified by '||:password);
-- forms_ddl(' create public synonym city for mm.city');


message('تم تغير كلمة السر  ');
clear_form;
end if;

 end;

--------------------------------------

post-141854-0-86379400-1443685145_thumb.jpg

تم تعديل بواسطة ميسم الكرام

بتاريخ:

Check before insert for this username

Select Count(1) from your table
where coulmn name = :user_name

if count = 1 then this user name already exist. 

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

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

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

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

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

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.