Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
41 views

I'm trying to create a routine that takes an arbitrary cursor as input and generates the resultset as XML in this form: <ROWSET> <ROW> <COLUMN name="ID">1</COLUMN&...
Max's user avatar
  • 2,562
0 votes
1 answer
32 views

Conversely as for LOB columns, I cannot find how to give the name I wish to the storage segment created for an XMLTYPE column within the CREATE TABLE script. Is that possible on Oracle 19c and can ...
Max's user avatar
  • 2,562
0 votes
1 answer
208 views

Can you help me make the below code more robust and avoid hardcoding, please? I have the following piece of code: SET SERVEROUTPUT ON SIZE UNLIMITED; exec DBMS_OUTPUT.ENABLE (NULL); set lines 1000 ...
PiC's user avatar
  • 143
0 votes
2 answers
181 views

I need to remove certain part of the XML (table definition from DBMS_METADATA). Found XMLPATCH and made it work for very small, example XML below. But I'm facing two problems: one big and one small. ...
PiC's user avatar
  • 143
1 vote
1 answer
5k views

I'm completely new to Oracle's XDB, trying to breakfix a code in production environment which i am completely new to. SELECT DBMS_LOB.SubStr(RTRIM (XMLAGG (XMLELEMENT (E,XMLATTRIBUTES (ntx.nttx_str ...
Tedgeor's user avatar
  • 53
1 vote
1 answer
435 views

I have written a Oracle XML sql and it is giving output like below. I have given the whole code below from creating table to sql below for your quick help. output: (WRONG) ID, NAME 1 name1 1 ...
swet's user avatar
  • 217
2 votes
3 answers
1k views

Oracle version: The result of this query select * from v$version; is: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production PL/SQL Release 11.2.0.4.0 - Production "CORE 11.2....
VBoka's user avatar
  • 9,093
0 votes
1 answer
786 views

Assuming I have the following XML data assigned to a local variable in PL/SQL of type CLOB, i.e: l_clob := ‘<xml> <ticket_order> <table_no>1<table_no/> <waiter>...
tonyf's user avatar
  • 35.8k
0 votes
1 answer
133 views

Given the following XML sample below, how can I extract all <table_no> values from top to bottom using Oracle XML extraction. Based on below, I would expect to see the following individual rows ...
tonyf's user avatar
  • 35.8k
1 vote
1 answer
321 views

I register a schema into Oracle XMLDB via the dbms_xmlschema.registerschema() package sub program. I then select the registered schema from user_xml_schemas. The schema returns fine, but Oracle has ...
Pancho's user avatar
  • 2,213
0 votes
1 answer
237 views

I am trying to expose an Oracle Table as a web service using XML DB Service. I want to return multiple rows of table based on where condition passed in the Request of the web service. Following -: ...
Ashish Chandra's user avatar
0 votes
0 answers
271 views

I have invalid XML files(some tag is missing) in XML DB which are uploaded using FTP. When I try to retrieve these files using RESOURCE_VIEW, i get below error. SELECT rv.res.getClobVal() FROM ...
Anto's user avatar
  • 3
2 votes
0 answers
908 views

knows someone why this statement delivers me the result 0 and not 1 SELECT XMLISVALID( XMLType('<Termin Nr="498"> <Beginn>10.06.03</Beginn> ...
Michael's user avatar
  • 81
0 votes
2 answers
3k views

I have a query such as this- WITH xtbl AS (SELECT xmltype ('<root> <parent> <item> <item_detail>AAA</...
Rachcha's user avatar
  • 8,896
4 votes
3 answers
3k views

I have the following XML structure: <root> <parent> <parent_id>1</parent_id> <parent_value>10000</parent_value> <child> ...
Rachcha's user avatar
  • 8,896
2 votes
1 answer
2k views

Here is the sample query- WITH empdata AS (SELECT xmltype ('<office> <emp> <empno>1</empno> ...
Rachcha's user avatar
  • 8,896
0 votes
1 answer
53 views

Is Berkeley DBXML 2.5.16 compatible with latest version of Red hat Linux?
Ragasudha's user avatar
0 votes
2 answers
2k views

I have the following XML response after calling a WebService that has CDATA attribute. <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/...
Ali Celebi's user avatar
  • 1,028
0 votes
1 answer
54 views

I am using Berkeley dbxml 2.5.16. First I insert a document Test.xml to myDb.dbxml container. dbxml> putDocument KEY_1 Test.xml` Then I checked the file size of the container, bash-3.2$ ls -ll ${...
Ragasudha's user avatar
0 votes
1 answer
1k views

I have a table tsk with 2 columns : a task id in number, and a task scope in XMLTYPE which can be like : <scope> <siteCode>2</siteCode> <supplierCode>1111</...
cbe's user avatar
  • 1
1 vote
1 answer
418 views

I have a table with XMLTYPE column and the XMLEXIST works fine. But when the root element have a xmlns atribute the XMLEXISTS don't find the record what i'm looking for. Without the xmlns attribute ...
Mário Monteiro's user avatar
0 votes
1 answer
487 views

I am trying to query a XMLtype field in a table which has element names that increment by 1 on each occurrence. There could be 1 to many levels of these elements and I was wondering if there is a way ...
Jared's user avatar
  • 2,974
2 votes
3 answers
4k views

Given is the value of "my_xml" column in "XYZ" table <?xml version="1.0" encoding="UTF-8"?> <India> <city> <string>ADI</string> <string>Ahmedabad</...
Not a bug's user avatar
  • 4,334
0 votes
1 answer
327 views

I was trying to do an INSERT INTO .. SELECT from xmltable. The procedure completes successfully(quickly) without this insert, but when this code is included to insert 9999 rows it takes its time to ...
QuickDrawMcgraw's user avatar
0 votes
1 answer
2k views

I am having issues figuring out how to integrate namespaces to a where clause having xmlexists. The query is as below: SELECT sing_d1.sing_info_text1, sing_d1.sing_info_text2 FROM XMLTABLE( ...
QuickDrawMcgraw's user avatar
0 votes
1 answer
631 views

I have Oracle xmldb with a table containing an xmltype column that has multiple records of large xmls. The size of each xml would be around 100MB with a portion of the xml having repeating elements. ...
cyn's user avatar
  • 858
1 vote
0 answers
143 views

I need your help. I please you. Recently i installed the Oracle APEX 3.2.1 using next instructions from: https://www.youtube.com/watch?v=Nj8gXyA3Z4w . And after that , i have already changed a ...
Minion Skywalker's user avatar
0 votes
1 answer
962 views

I am trying to create an XML Index on XML Type column in one of my table. We are using 2 tablespace here, one for Tables and the second for Indexes. I would like to create the XMLIndex in the index ...
Adhiraj's user avatar
  • 81
2 votes
1 answer
2k views

I'm trying to validate a document XML during it's inserting into a table in ORACLE database. I've define a XML Schema and a XMLTYPE with this schema in my table but the db allow me to insert a wrong ...
Mark116's user avatar
  • 733
2 votes
1 answer
94 views

Is it possible to insert new tag in the XML which is there in the XML-database? For example; below is my example which is exists in the database: <PurchaseOrder xmlns:xsi="http://www.w3.org/...
Ramesh's user avatar
  • 340
0 votes
1 answer
693 views

I cannot come to a solution to this task: my goal is to pass a cursor to a PL/SQL procedure and get the results as an XMLType. The function dbms_xmlgen.getxmltype() makes this task straightforward &...
Max's user avatar
  • 2,562
0 votes
0 answers
497 views

I am trying to select XML from DB Oracle12g. XML is stored in the table (XMLType store as binary XML) and I am not able to create Select query with where-condition. My problem is that query doesn't ...
Radek Petruška's user avatar
1 vote
1 answer
5k views

I want to aggregate multiple XMLELEMENT for table following columns and return an xml file. Here is the table data: I want return xml with following format: <employee> <id>FMCSC00015</...
user5005768-hd's user avatar
0 votes
1 answer
689 views

Is there any API, command or tools available, which generates plsql type file in .sql format( so that i can keep in version control ) which may undergo changes for multiple releases, for the given xsd ...
Brinda Santh's user avatar
0 votes
1 answer
320 views

I am creating a table of xml type Oracle(I am new to this). I inserted a few records in the table. When I try to retrieve records from the table using the select statement I get the following error. ...
user5113176's user avatar
1 vote
0 answers
2k views

This is the oracle query I am trying to execute which is giving different output on each execution. For the first execution it is giving the correct xml and all subsequent request it is returning null....
Chirag Bogra's user avatar
2 votes
2 answers
1k views

While trying to implement some checks in Oracle database with use of XQuery I need to compare if two dates are the same, but can't do that on obvious manner because casting to xs:date don't really ...
ThinkJet's user avatar
  • 6,765
0 votes
1 answer
1k views

I have been trying to provide my Oracle PL/SQL package as a web service in Oracle 11g (11.2.0.2.0). While everything else is going well, I seem to have a problem in using any procedure/function that ...
Fluster's user avatar
  • 133
2 votes
1 answer
3k views

I used the XMLAGG aggregate function in a single row and I keep getting the error code ORA-00937. Why? The structure for the report is: <Forms> <Year>2015</Year> <Month&...
Caramel2017's user avatar
0 votes
1 answer
4k views

I have the following code which works fine for smaller data it extracts, but when it runs into a record that is larger sized it errors. How would i go about getting around the ORA-01706:user function ...
QuickDrawMcgraw's user avatar
1 vote
1 answer
188 views

Temp Extract : CREATE GLOBAL TEMPORARY TABLE "TRANSACTION"."TEMP_EXTRACT" ( "EXTRACT_ID" VARCHAR2(256 BYTE), "APP_DATA_ID" VARCHAR2(256 BYTE), "IT_DEBIT_BANKID" VARCHAR2(11 BYTE)...
QuickDrawMcgraw's user avatar
0 votes
1 answer
49 views

Iam new to the XML database, facing issue while writing where condition on id of transportEquipment. My xml is : below xml taken from the database. this xml has the multiple id in transportequipment ...
Koneru KiranKumarReddy's user avatar
1 vote
2 answers
6k views

My intention is to "select the data where container number is equals to input data" (kind of search functionality). I am facing an issue when I am trying to retrieve the data, with a problem at where ...
Ramesh's user avatar
  • 340
1 vote
2 answers
2k views

My question is identical to this one but instead of SQL Server I am using Oracle 12.1. I would like to extract all the name elements from the following xml document: <ci5> <employee> ...
Ian Carpenter's user avatar
2 votes
2 answers
1k views

I have this XML. <a> <b>b1</b> <c>c1</c> <b>b2</b> <c>c2</c2> </a> I want to be able to extract the values of elements 'b' and '...
GoAlves's user avatar
  • 505
0 votes
0 answers
173 views

FOR get_rows IN DF_ROWS LOOP row_elmt := xmldom.createElement(doc, 'ROW'); row_node := xmldom.appendChild(root_node, xmldom.makeNode(row_elmt)); item_elmt := xmldom.createElement(doc, '...
Prashant Mishra's user avatar
2 votes
1 answer
160 views

I know how to parse an xml in oracle which goes something like this select extractvalue(column_value, 'CIRS/CIR/@applicantId') applicantId into applicantId from CIBIL_BINARY_INPUT ,table(...
Mohit Tamrakar's user avatar
0 votes
0 answers
46 views

I have this query. its just running endlessly without any error. is there anything i'm doing wrong? SELECT RECID, extract(XMLRECORD,'/row') as xmlrecord FROM ACCOUNT WHERE extractvalue(...
oliverdejohnson's user avatar
4 votes
2 answers
8k views

I have spent days looking for a simple solution to the following problem and I need some help please. I have a Oracle table with two columns, recid (Account Number) as the primary key and xmlrecord ...
Mark's user avatar
  • 61
0 votes
1 answer
259 views

I have a simple table structure in an Oracle Database (11gR2). Using generic terms, I have "groups" than contain one or more "items"; i.e. a one-to-many relationship. So the "item" table has a "...
Allan Lewis's user avatar