i have xml source. xml source having lacks of records. i
want extract/retrive xml source data using sql query.
please tell me how to write query.

Answer Posted / mathivanan

select extractvalue(columnname,'/roottag/subtag') from tablename

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does closing a cursor do?

766


What is the difference between unique and primary key constraints?

588


What is execute immediate?

549


What is sql key?

525


What are the possible values for the boolean data field?

527






How is debugging done?

531


How to select unique records from a table?

571


What does the base_object_type column shows in the user.triggers data dictionary view?

575


What is raw datatype in sql?

558


what is single byte over head in oracle..?

1872


Which sql statement is used to delete data from a database?

467


how can we transpose a table using sql (changing rows to column or vice-versa) ? : Sql dba

513


What is offset in sql query?

598


Which is better join or subquery?

608


Are ddl triggers fired for ddl statements within a pl/sql code executed using the dbms.sql package?

620