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

بتاريخ:

أود السؤال هل هذا الكود صحيح برمجيا من أجل الفحص وإعادة رساله في حالة وجد اسم المستخدم؟ أو هناك كود أكثر منطقيا منه
والعفو منكم :angry: :(
create or replace procedure add_useraccount(p_username in privilege.username%type,
p_password in privilege.password%type,
p_privi in privilege.username%type,
p_error out varchar2)
is
v_username privilege.username%type;
ch boolean:=false;
cursor user_cursor is
select username
from privilege;
begin
open user_cursor;
loop
fetch user_cursor into v_username;
if (v_username=p_username) then
ch:=true;
end if;
exit when ((user_cursor%notfound) or (user_cursor%notfound is null));
end loop;
close user_cursor;
if not(ch) then
insert into privilege
values(p_username,p_password,p_privi);
commit;
else
p_error:='the user and password is found';
end if;
end add_useraccount;
/

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

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

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

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

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

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.