Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8510829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T03:48:44+00:00 2026-06-11T03:48:44+00:00

My table is in oracle toad. teh table contain column name phone number varchar2

  • 0

My table is in oracle toad. teh table contain column name phone number varchar2 datatype.it contain set of phonenumbers. some numbers are more than 10 char. i want to filter that number from right side 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
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T03:48:46+00:00Added an answer on June 11, 2026 at 3:48 am

    You can achieve that by using Substr function for example

    with T1 as 
    ( 
      select 99482599971234  n from dual union all
      select 99483015076789 n from dual union all
      select 994823298612 n from dual
    ) 
    
    select substr(n, Length(n) - 9, 10) nn
      from t1
    
    
     Nn 
    -------------------
    4823298612 
    2599971234 
    3015076789 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an Oracle table dump containing insert statements. Some of the tables contain
I have a oracle table A which contains a column A.a which used to
I have a table in Oracle where one of the column contains UserIds which
I have an oracle table with a column from type SYS.XMLTYPE and a storage
For a table in oracle, I can query all_tab_columns and get table column information,
I have a table in Oracle 10g that contains some information as follows: SQL>
I have an oracle table with nested tables in some of the columns. Now,
Is there a system column - timestamp - in Oracle table to determine when
I have a column called check_num (bank check number) as VARCHAR2 type in a
I have a table in Oracle where column SC_CUR_CODE is CHAR(3) When I do:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.