Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2003
    Posts
    87

    Unanswered: can u suggest a command??

    Hi,

    I wanna update a column by removing first 4 characters that column's value.
    for eg:

    my column is like this.

    NAME
    -----------
    abcdefg
    asdf23u
    ....
    .....

    i want to update tis column as the following

    NAME
    ------
    efg
    23u

    suggestions??

    Thank You.

  2. #2
    Join Date
    Nov 2003
    Location
    Bangalore, INDIA
    Posts
    333

    Thumbs up

    Hi Raseena,

    Use the SUBSTR() function along with the Update command.
    SATHISH .

  3. #3
    Join Date
    Nov 2003
    Location
    MA,USA
    Posts
    18
    select substr( name, 5) from dual;

  4. #4
    Join Date
    Apr 2003
    Location
    Greenville, SC (USA)
    Posts
    1,155
    select substr(name,5,length(name)) from dual

    HTH
    Gregg

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •