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

Writing a script using variables

Featured Replies

بتاريخ:

السلام عليكم ورحمة الله وبركاته
أخواني الأعزاء من خلال هذه النافذه سأبدأ بنقل تجاربي المتواضعة التي قمت بها في المؤسسة التي أعمل بها لعمل ملفات سكربت لغرض الإتصال بأي مستخدم وتشغيل ال Script
نتجية تشغيل هذا الملف الآتي
1- ملف سكربت بإسم
username.sql في محرك الأقراص
c:\
2- cmd file
بإسم
username.cmd
في محرك الأقراص c:\
وإليكم الملف التالي

set heading off
variable username varchar2(100)
variable password varchar2(100)
variable host_string varchar2(100)
accept username prompt 'Enter username '
accept password prompt 'Enter password ' hide
accept host_string prompt 'Enter host_string '
declare
menu_no number:=&&menu_choice;
begin
:username:='&&username';
:password:='&&password';
:host_string:='&&host_String'
end;
/
print :username
print :password
select 'connect '||:username||'/'||:password||'@'||:host_String
from dual;
spool c:\username.sql
/
spool off
select 'sqlplusw /nolog @username.sql'
from dual;
spool c:\username.cmd
/
spool off

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

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

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

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

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

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.