Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

XMLElement return null

Rosario VigilanteJun 26 2014 — edited Jun 26 2014

Hello

this is my first times I work with Xml data

I don't understand because this one following return null

  1. SELECT XMLElement("Date", HIREDATE) 
  2. FROM EMP 

but This  work

  1. select dbms_xmlgen.getxml('select * from dept') from dual  

 

Release 11.2.0.3.0

Thanks for any info in advance

This post has been answered by odie_63 on Jun 26 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 24 2014
Added on Jun 26 2014
6 comments
1,095 views