Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: copying to a smaller column

Re: copying to a smaller column

From: Mark Gumbs <mgumbs_at_nospam.hotmail.com>
Date: Mon, 21 Jun 1999 17:32:48 +0100
Message-ID: <376e66de.0@145.227.194.253>


select substr(column, start_pos, length) .....

eg

select substr(emp_name,1,500)......

M

Richard Baines wrote in message <376E633A.5FF1C451_at_netscape.net>...
>Hi
>
>I have a table containing two varchar2 columns, one of size 500 and one
>of size 100.
>Is there a way of copying the first 100 characters of the 500 column to
>the 100 column.
>I`ve been looking for some form of TRUNC command that works on varchars
>but there doesn`t seem to be anything.
>
>Any help gratefully received
>
>Richard
>
Received on Mon Jun 21 1999 - 11:32:48 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US