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

Error In Code

Featured Replies

بتاريخ:

السلام عليكم ورحمة الله وبركاته


من فضلكم اتنا نفذت الكود ده

SELECT last_name, hire_date
FROM employees WHERE hire_date = TO_DATE('May   24, 1999', 'fxMonth DD, YYYY');




بس طلعلي Error
بتقول

WHERE hire_date = TO_DATE('May   24, 1999', 'fxMonth DD, YYYY')
                          *
ERROR at line 3:
ORA-01858: a non-numeric character was found where a numeric was expected



مش فاهم ليه



ممكن حد يفكر معايا في المشكلة دي


وجزاكم الله كل خير






---------------------------------------------------------------------
لا اله الا الله

بتاريخ:

الاخ الكريم
السلام عليكم
انت اعطيت جملة Where تاريخ تنتظر ان تعطية قيمة

كأن تكتب الكود

SELECT last_name, hire_date
FROM employees WHERE hire_date = '21/06/ 1999'

بتاريخ:

الاخ ميدو
انا نفذت الكود اللى انت كتبته و اشتغل مضبوط!
راجع الكود مرة تانية

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

جزاكم الله كل خير

انا جربت الكود تانى واشتغل الحمد لله

بس كنت عاوز اعرف ما الفرق بين fxMonth و month

يعنى ما معنى وجود FX


وجزاكم الله كل خير



--------------------------------------------------------------------------------------------------------
كن رجلا بالف رجل فان لم تستطع كن رجلا ولا تكن نصف رجل

بتاريخ:

fm use withTO_Char


fx use withTO_Date
Examlpes:


TO_CHAR(sysdate,'fmDdspth "of" Month YYYY fmHH:MI:SS AM')


The result: "Thirty-First of August 2008 06:41:15 PM"


-The first one used to remove padded blanks or suppress leading zeros.
-The Second one used to cancel the working of the fisrst one.
note:"Month" Name of month padded with blanks to length of nine characters.

TO_DATE('May 24, 1999', 'fxMonth DD, YYYY')


في فراغ بعد اسم الشهر بس بالعرض ما عم يطلع المهم هذا مثال بوضح العملية أنو بالتاريخ يلي حاطو اسم الشهر مكمل بفراغات بس بالفورمات قايلو ما في فراغات لذلك طلع خطأ

TO_DATE('May       24, 1999', 'fxMonth DD, YYYY')
ERROR at line 1:
ORA-01858: a non-numeric character was found where a numeric was expected

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

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

جزاكم الله كل خير

بس ممكن توضيح اكتر

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

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

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

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

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

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.