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: Help !!!ORA-06502: PL/SQL: numeric or value error: character to number conversion error

Re: Help !!!ORA-06502: PL/SQL: numeric or value error: character to number conversion error

From: <lisaashleyrafter_at_yahoo.com>
Date: 29 Mar 2006 07:00:41 -0800
Message-ID: <1143644441.268589.54460@j33g2000cwa.googlegroups.com>


Hey JC,
If you need to just get 4 columns out of a table, you can do something like this:
create table my_table <--whatever you want to name the new table as
select column1, column2, column3, column4 <--the fields you're selecting, you can alias them as wel if you want to rename them in the new table
from original_table <--whatever your source table is No looping involved! This is also the most efficient way to do this. Hope that helps,
Lisa Received on Wed Mar 29 2006 - 09:00:41 CST

Original text of this message

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