Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Modify data from select before insert.
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/oper
ators.htm
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/expr essions.htm
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/func tions2a.htm
=20
-----Original Message-----
Lyndon Tiu
I could use a few tips here.
I have a sql statement:
insert into table1
(
col1
)
select col1 from tabl2;
Problem is, I need to modify the data in the column from table2 first before inserting to table1. Like add a dash, after the third character ... chnage all A's to B's sort of thing.
Can you guys give me a few hints and perhaps a few keywords I can use to search google for?
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.htmlReceived on Thu Aug 19 2004 - 14:16:17 CDT
-----------------------------------------------------------------
![]() |
![]() |