sql - View already being created in Database now recompiling gives error ORA-00998: must name this expression with a column alias -


my view in database column alias not mentioned after expression in select query:

select a.column1, a.column2, decode (a.column3,'hahaha', b.column21 || ' : ' || a.column4 || ' bye : ' || d.column31,   b.column22) ,  a.column5  , b ,d a.column1 = b.column21  , a.column2= d.column31 (+); 

what unable understand if need recompile same view gives error ora-00998: must name expression column alias. understand decode expression missing alias name .

but surprises me how got database.

am unable understand . plz let me know how might have got db.


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -