Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Newbie: Generate XML for data from Oracle Table Rows

 
   Database Forums (Home) -> Oracle RSS
Next:  How to allow normal user (not Administrator) depl..  
Author Message
Rohit Arora

External


Since: Apr 21, 2006
Posts: 1



(Msg. 1) Posted: Fri Apr 21, 2006 5:06 am
Post subject: Newbie: Generate XML for data from Oracle Table Rows
Archived from groups: comp>databases>oracle>misc (more info?)

Hi,

I am very new to Oracle. My customer has a requirement, where in I need
to generate the XML scripts for the data that we are appending with in
the table.

eg: for the table

col1 col2 col3
-----------------------------------------
Rohit Arora DEV
XXX ABC PROD

Then the xmls should be added to another field in table TBL_AUDIT:

<Tran>
<Data>
<Field Value="col1">
<old Val/>
<New Val>Rohit</New Val>
</Field>
......
......
..........

</Data>
</Tran>

Is there any tool to do so automatically or any sample code as to how
to do it.........

It will be of immense help.

Rgds,

Rohit

 >> Stay informed about: Newbie: Generate XML for data from Oracle Table Rows 
Back to top
Login to vote
user1914

External


Since: Dec 09, 2004
Posts: 44



(Msg. 2) Posted: Fri Apr 21, 2006 2:45 pm
Post subject: Re: Newbie: Generate XML for data from Oracle Table Rows [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Rohit wrote:

>Is there any tool to do so automatically or any >sample code as to how
>to do it.........

http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:4980337843276

See also http://www.dbaoracle.net/readme-cdos.htm for posting clues.

jg
--
@home.com is bogus.
New Adventures of Old Gidget:
http://www.signonsandiego.com/uniontrib/20060421/news_2m21gidget.html

 >> Stay informed about: Newbie: Generate XML for data from Oracle Table Rows 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
data type TABLE of Oracle - Hi, I'm writing a PL/SQL program to send emails. I copied a email packages from the web and it works fine. However, I have problem if I put the email ids as variable instead of hardcoded in the calling program. The package header is as follows: create...

Oracle function returning rows - How can I write an oracle function that can return a set of rows? this is what I am doing now. It doesnt work. create or replace FN_ABCD ( reportdate in DATE ) RETURN types.ref_cursor as l_cursor types.ref_cursor; begin open l_cursor for SELECT..... ...

NEWBIE QUESTION: BEST WAY TO LEARN ORACLE DB -

Newbie table backup question - Hi All, Isn't it possible to backup an existing table using the following syntax? create table mytable_backup as select * from mytable? This isn't working on my 10g. mytable has like 40 columns and I don't want to go thru the effort of first running a....

selecting from oracle nested table - The task I have is to output some messages from a procedure in a package. The package is run in a shell script from plsql by piping the output from the proc to a file. There is a need to have 4 different types of messages in the report with some sorting...
   Database Forums (Home) -> Oracle All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]