Search notes:

ORA-01748: only simple column names allowed here

create table tq84_ora_01748 (
   x.y varchar2(10)
);
A more sophistic example:
create table tq84_tab(
   col_1    integer,
   col_2    varchar2(5),
   val_foo  number(4,1),
   val_bar  number(4,1),
   val_baz  number(4,1)
);


select
   *
from
   tq84_tab unpivot (
     val for txt in (
         tab.val_foo as 'Foo',  <-- tab.… causes ORA-01748: only simple column names allowed here
         tab.val_bar as 'Bar',
         tab.val_baz as 'Baz'
     )
   ) tab 
;


--
-- Better:
--
select
   *
from
  tq84_tab unpivot (
     val for txt in (
         val_foo as 'Foo',
         val_bar as 'Bar',
         val_baz as 'Baz'
     )
  ) tab 
;


drop table tq84_tab;

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...', 1759612313, '216.73.216.149', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/errors/ORA-01748_only-simple-column-names-allowed-here(79): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78