Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> create table question
I want to create a table that has 2 fields:
1st field: f1, integer, default 0
2nd field: f2, integer, copy exact rows from other table
so that I will have a table like:
0, aaa
0, bbb
...
I used to do this in Ingres:
create table table_name as select int4(0) as f1, f2 from other_table;
How to do this in Oracle?
Thanks!!
-----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own Received on Fri Oct 02 1998 - 00:00:00 CDT
![]() |
![]() |