Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle SQL creating table as a copy of table
DA Morgan <damorgan_at_x.washington.edu> wrote:
>ALTER TABLE employees
>ADD (contractor_flag VARCHAR2(1));
And why not CHAR(1)? I thought there was a (minimal) overhead with VARCHAR2(x), so what's the point in imposing it for a field that you know will always be one and only one character?
Paul...
-- plinehan __at__ yahoo __dot__ __com__ XP Pro, SP 2, Oracle, 9.2.0.1.0 (Enterprise Ed.) Interbase 6.0.2.0; When asking database related questions, please give other posters some clues, like operating system, version of db being used and DDL. The exact text and/or number of error messages is useful (!= "it didn't work!"). Thanks. Furthermore, As a courtesy to those who spend time analyzing and attempting to help, please do not top post.Received on Sun Apr 17 2005 - 13:28:10 CDT