الانتقال إلى المحتوى

substr


meshmesh173

Recommended Posts

Returns a substring of x that begins at the position specified by start. An optional length for the substring may be supplied.

for example :

SELECT SUBSTR(name, 2, 7)
FROM products
WHERE product_id < 4;

SUBSTR(
-------
odern S
hemistr
upernov

ففي هذه الحالة يتم قطع الإسم من الحرف الثاني
مقتطعا 7 أحرف

*********************

رابط هذا التعليق
شارك

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

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

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

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   تمت استعادة المحتوى السابق الخاص بك.   مسح المحرر

×   You cannot paste images directly. Upload or insert images from URL.

جاري التحميل
×
×
  • أضف...

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

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