Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: CTAS and ora-1723
> The NULL is the problem because Oracle doesn't know what datatype, scale,
or
> precision you want the PROVIDER column to be. And, as the error message
> states, "zero-length columns" are not permitted...
>
> How about breaking it up into two statements: a CREATE TABLE followed by
an
> INSERT ... SELECT?
IIRC, it is also possible to use CAST in such statement to set a datatype to
a column.
Tanel.
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Thu Jul 01 2004 - 17:06:15 CDT
![]() |
![]() |