Re: How to Generate Schema for Nested XML with SQL Adapter
- From: RhettLiu@xxxxxxxxx
- Date: 29 Nov 2006 22:19:24 -0800
Thanks for your help.
Your so nice guys. We decide not to use the sql adatper to generate our
schemas, as we only need to pass the messages out, so we will mannually
assemble the schemas. And the data will also be assembled up from
serveral querys's result.
"Wade Ding 写道:
"
Hi Liu
I think the best solution for your scenario will be create your own SQL
adapter, use XML DOM bulk load.
regards,
wade
<RhettLiu@xxxxxxxxx> wrote in message
news:1164693179.000422.203450@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi Kailux4,
It seems ugly, I have more than 10 tables, there will be more than one
hundred fields.
I hope there could be one better choice.
Thank you for your kind help.
"kailux4 D′μà£o
"
Hi,
the following link helps in controlling xml structure with data from
multiple tables
http://objectsharp.com/blogs/matt/archive/2005/03/22/1560.aspx
"RhettLiu@xxxxxxxxx" wrote:
Dear All.
I have been troubled with SQL Adapter.
I have a query which is used to assemble nested XML from data base,
like
<product>
<interest att1=""/>
<other attb=""/>
</product>
Since we have more than two tables, we could not use "join" to assemble
the XML.
We use nested query like:
SELECT top 3
(SELECT top 2 att1
FROM Interest
for xml auto, type),
(SELECT top 2 attb
FROM Other
for xml auto, type),
FROM Product
FOR XML AUTO, TYPE
But how could I get the schema with SQL Adapter?
I am expecting to get your idea, thanks!
Best Regards.
.
- References:
- Re: How to Generate Schema for Nested XML with SQL Adapter
- From: Wade Ding
- Re: How to Generate Schema for Nested XML with SQL Adapter
- Prev by Date: Re: Dumb question but...
- Next by Date: Send Port error
- Previous by thread: Re: How to Generate Schema for Nested XML with SQL Adapter
- Next by thread: Re: FTP location is randomly stopping
- Index(es):
Relevant Pages
|