Search notes:

ORA-01723: zero-length columns are not allowed

The following create table statement throws the error ORA-01723: zero-length columns are not allowed:
create table
   tq84_ora_01723 as
select
   null as n
from
  dual;
It is possible to create a table with initial null values if these are cast into a datatype:
create table
   tq84_ora_01723 as
select
   cast(null as varchar2(100)) as n
from
  dual;

See also

Other Oracle error messages

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758192048, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/errors/ORA-01723_zero-length-columns-are-not-allowed(51): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78