Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Datatype conversions
Hallo,
Maybe this sounds simple for all of you, but I have a table with the field
PRICE and that is with datatype varchar2 I want the data in that field to be
inserted in another table with field PRICE, but that field has the datatype
NUMBER. How can I
easiest do this sql statement?
In the varchar2(30) field PRICE , table1 it looks like this
PRICE
12,50
37,50
The datype in table 2 is for that field NUMBER(7,2)
Roland
--
Please see the official ORACLE-L FAQ: http://www.orafaq.net
--
Author:
INET: roland.skoldblom_at_ica.se
Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services ---------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Mon Nov 03 2003 - 06:29:40 CST