Project Detail

SQL/XML stored procedure help needed  

SQL/XML stored procedure help needed is project number 330672
posted at Freelancer.com. Click here to post your own project.

 

| More Free Trial For New Buyers
 

Status:

Selected Providers: robertliu003

Budget: $30-250

Created: 10/17/2008 at 21:34 EDT

Bid Count: 1

Average Bid:
$ 35

10/18/2008 at 21:34 EDT

Project Creator: napstulik
Employer Rating: 10/1010/1010/1010/1010/1010/1010/1010/1010/1010/10 (91 reviews)

Bid On This Project
 

Description

MS SQL/XML Expert needed!

Please be available via IM to go over details. So I can provide stored procedure

I have 3 relational tables
categories
products
prices

I have a stored procedure that generates categories and related products. Most of the work is done, I just need to split catalog into monthly and yearly under each category with additional selects.

A bit of a complex query. I'm sure its easy for you!
At the moment data thats generated looks like this
<categories>
<category>
<name>womans interest</name>
<desc></desc>
<magazine>
<name>elle</name>
</magazine>
</category>
</categories>

I need data to be structured like shown below:
After categories, display two types of catalogs, <monthly></monthly> and <yearly></yearly>

Monthly catalog will always be a price of 0 (zero)
Yearly magazines will have multiple prices (one year, two year options)


<categories>
<category>
<name>womans interest</name>
<desc></desc>
<monthly>
<magazine>
<name>womans health</name>
</magazine>
<magazine>
<name>elle</name>
</magazine>
</monthly>
<yearly>
<magazine>
<name>elle</name>
<price yearly="1">
<months>12</months>
<issues>12</issues>
<cover_price>65.00</cover_price>
<subscription_price>24.99</subscription_price>
<percent_savings>50</percent_savings>
<additional_fee>0.00</additional_fee>
<allow_montly_change>0</allow_montly_change>
<active>1</active>
</price>
<price yearly="1">
<months>24</months>
<issues>24</issues>
<cover_price>65.00</cover_price>
<subscription_price>24.99</subscription_price>
<percent_savings>50</percent_savings>
<additional_fee>0.00</additional_fee>
<allow_montly_change>0</allow_montly_change>
<active>1</active>
</price>

</magazine>
</yearly>
</category>
</categories>


Maximum project budjet $35

Job Type

Messages Posted:0 View project clarification board Post message on project clarification board

Bid On This Project
 

If you are the project creator or one of the bidders Log In for more options

 

35

0 days

10-17-2008 21:40 EDT

have the interests

help


    Bid on this Project