| SUBSTRING ( sentence, position, length ) | ใช้ตัดสตริงของ sentence โดยจะเริ่มตัดจากตำแหน่ง position และตัดไปจำนวน length ตัวอักษร |
|---|
function:SUBSTRING(sentence,position,length)
content:ใช้ตัดสตริงของ sentence โดยจะเริ่มตัดจากตำแหน่ง position และตัดไปจำนวน length ตัวอักษร
example:SELECT SUBSTRING(name,3,10) FROM person