我的表位於oracle蟾蜍中。表中包含列名電話號碼varchar2 datatype.it包含一組電話號碼。有些數字超過10個字符。我想從右側10個字符過濾該數字。從右側獲取字符串10 char
data's in the table
-------------------
phone number
9948184759
9948220955
994823298612
9948249815
99482599971234
9948277935
9948288258
99483015076789
9948335085
9948337552
9948338134
the above column values are phone numbers.but some numbers are more than 10 char length
that numbers are
----------------
994823298612
99482599971234
99483015076789
expected output for the above numbers
----------------------------------------
4823298612
2599971234
3015076789
Help me to do this? am new to oracle toad
我想在aspx.vb頁 – vps
我的代碼中的aspx直接使用此命令。 vb從reports.renewal_contact_t中選擇PHONE,其中run_date = to_date('「+ TextBox1.Text +」',mm/dd/yyyy')和EXP_DATE = to_date('「+ TextBox2.Text +」','mm/dd/yyyy')和region ='TNP'「,cn) – vps
here本身我想從右側檢索電話號碼只有10位數字 – vps