If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > XML View of Relational Data

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-11-07, 01:56
ajithnayak ajithnayak is offline
Registered User
 
Join Date: Feb 2004
Location: Bangalore
Posts: 21
XML View of Relational Data

My requirement is
(1) Ability to create user defined XML views over relational tables
(2) Views should not be materialized ones.

The application will operate on these XML views using XQuery etc. (though the data would be in relational columns as primitive data types).

Is this possible using pureXML feture in DB2 V9.1 for Linux Unix & Windows
Reply With Quote
  #2 (permalink)  
Old 01-11-07, 09:02
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Yes this is possible
Reply With Quote
  #3 (permalink)  
Old 01-11-07, 23:59
ajithnayak ajithnayak is offline
Registered User
 
Join Date: Feb 2004
Location: Bangalore
Posts: 21
Is there any built infunction which provides XML view of relational data. Can you guide me to any documentation to achieve this.
Reply With Quote
  #4 (permalink)  
Old 01-12-07, 04:00
guyprzytula guyprzytula is offline
Registered User
 
Join Date: Jun 2006
Posts: 471
xml

to create a view, a regular sql select has to be defined
see xml guide for many samples to select data from tables with xml
__________________
Best Regards, Guy Przytula
DB2 UDB LUW certified V6/7/8
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On