 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Hugh Jones Guest
|
Posted: Mon May 23, 2005 12:49 pm Post subject: XML in Oracle 9i |
|
|
I have a simple query which runs fine in SQL*Plus :
SELECT
XMLELEMENT("cawcc_item",
XMLELEMENT("item_id",ITEM_ID),
XMLELEMENT("subtype_id",SUBTYPE_ID) ,
XMLELEMENT("type_id",TYPE_ID)) as result
FROM
ALL_ITEMS, HJResults
WHERE
ALL_ITEMS.ITEM_ID = HJResults.IID
But which fails in Delphi (dbExpress AND bde) with the error :
'SQL Server Error: ORA-04043: object "XMLTYPE" does not exist'.
I have googled the issue with no real luck, and wondered if anyone can
throw some light on this.
Thanks all
Hugh
|
|
| Back to top |
|
 |
Mike Shkolnik Guest
|
Posted: Mon May 23, 2005 2:15 pm Post subject: Re: XML in Oracle 9i |
|
|
DOA supports the XMLTYPE:
http://www.allroundautomations.nl
--
With best regards, Mike Shkolnik
EMail: [email]mshkolnik (AT) scalabium (DOT) com[/email]
http://www.scalabium.com
"Hugh Jones" <Hugh.Jones (AT) No_spammmers_Mail (DOT) Thomson.com> wrote
| Quote: | I have a simple query which runs fine in SQL*Plus :
SELECT
XMLELEMENT("cawcc_item",
XMLELEMENT("item_id",ITEM_ID),
XMLELEMENT("subtype_id",SUBTYPE_ID) ,
XMLELEMENT("type_id",TYPE_ID)) as result
FROM
ALL_ITEMS, HJResults
WHERE
ALL_ITEMS.ITEM_ID = HJResults.IID
But which fails in Delphi (dbExpress AND bde) with the error :
'SQL Server Error: ORA-04043: object "XMLTYPE" does not exist'.
I have googled the issue with no real luck, and wondered if anyone can
throw some light on this.
Thanks all
Hugh
|
|
|
| Back to top |
|
 |
Hugh Jones Guest
|
Posted: Tue May 24, 2005 8:48 am Post subject: Re: XML in Oracle 9i |
|
|
Mike Shkolnik wrote:
party software ?
Cheers
H
|
|
| Back to top |
|
 |
Robert Loof Guest
|
Posted: Tue May 24, 2005 2:44 pm Post subject: Re: XML in Oracle 9i |
|
|
Hugh,
From what I remember ODAC vcl supports XMLTYPE. Not sure, but check it
out.
http://crlab.com/odac/
Hugh Jones wrote:
| Quote: |
I have a simple query which runs fine in SQL*Plus :
SELECT
XMLELEMENT("cawcc_item",
XMLELEMENT("item_id",ITEM_ID),
XMLELEMENT("subtype_id",SUBTYPE_ID) ,
XMLELEMENT("type_id",TYPE_ID)) as result
FROM
ALL_ITEMS, HJResults
WHERE
ALL_ITEMS.ITEM_ID = HJResults.IID
But which fails in Delphi (dbExpress AND bde) with the error :
'SQL Server Error: ORA-04043: object "XMLTYPE" does not exist'.
I have googled the issue with no real luck, and wondered if anyone can
throw some light on this.
Thanks all
Hugh
|
|
|
| Back to top |
|
 |
Mike Shkolnik Guest
|
Posted: Tue May 24, 2005 8:18 pm Post subject: Re: XML in Oracle 9i |
|
|
| Quote: | Do I take it, then, that there is no way round this issue without third
party software ?
Yes, you need the third-party components for XMLTYPE support |
--
With best regards, Mike Shkolnik
E-mail: [email]mshkolnik (AT) scalabium (DOT) com[/email]
WEB: http://www.scalabium.com
|
|
| Back to top |
|
 |
Hugh Jones Guest
|
Posted: Wed May 25, 2005 7:46 am Post subject: Re: XML in Oracle 9i |
|
|
Robert Loof wrote:
| Quote: | Hugh,
From what I remember ODAC vcl supports XMLTYPE. Not sure, but check it
out.
Mike, Robert. |
Third Party Tools are not an option, unfortunately. I will have to
Hand-craft my XML.
Thanks for your help.
Hugh
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|