Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: table create vs alter
Thanks Tom.
I know that logically the schema would be the same, I was just wondering if the underlying physical storage set up by Oracle would in some way be suboptimal in the second case. But if they're identical, that's great, because it means I don't need to worry about patching schemas :0)
g
-----Original Message-----
Sent: Friday, August 17, 2001 2:26 PM
To: Multiple recipients of list ORACLE-L
g,
why not try it????
the answer is - no difference.
Tom Mercadante
Oracle Certified Professional
-----Original Message-----
Sent: Friday, August 17, 2001 6:01 AM
To: Multiple recipients of list ORACLE-L
Hi,
Does anyone know if the end result of these two statements is actually any different?
CREATE TABLE mytable (
mycol1 NUMBER, mycol2 VARCHAR2(40), mycol3 VARCHAR2(30));
and
CREATE TABLE mytable (
mycol1 NUMBER);
ALTER TABLE mytable ADD (mycol2 VARCHAR2(40));
ALTER TABLE mytable ADD (mycol3 VARCHAR2(30));
Since no data is loaded, will Oracle have create the table in exactly the same way at the end of both two methods?
Thanks,
g
--
Guy Hammond
AVT Technologies
12-16 Westland Place
London N1 7LP UK
Email: guy.hammond_at_avt.co.uk
Office: +44 (0) 207 454 1224
Mobile: +44 (0) 7966 164687
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Guy Hammond
INET: guy.hammond_at_avt.co.uk
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: 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).
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: 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).
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Liststo: 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 Fri Aug 17 2001 - 09:58:36 CDT
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
![]() |
![]() |