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 > MySQL > School Assigment

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-24-11, 17:10
cmduser cmduser is offline
Registered User
 
Join Date: Aug 2011
Posts: 4
Post School Assigment

Build a procedure that takes as argument an order to the following XML format and adds the order data in the respective tables.

<Order>

<OrderData OrderID="10248" OrderDate="1996-07-04T00:00:00" EmployeeID="5" CustomerID="VINET">

<OrderItem ProductID="11" Quantity="12" UnitPrice="14.0000" />

<OrderItem ProductID="42" Quantity="10" UnitPrice="9.8000" />

<OrderItem ProductID="72" Quantity="5" UnitPrice="34.8000" />

</OrderData>
Reply With Quote
  #2 (permalink)  
Old 08-24-11, 17:19
healdem healdem is online now
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,250
and what have your tried so far?
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
  #3 (permalink)  
Old 08-25-11, 06:57
cmduser cmduser is offline
Registered User
 
Join Date: Aug 2011
Posts: 4
Post Hi friend

I have just this question for home work,and how can i make this procedure,that we take at this result.

Build a procedure that takes as argument an order to the following XML format and adds the order data in the respective tables.

<Order>
<OrderData OrderID="10248" OrderDate="1996-07-04T00:00:00" EmployeeID="5" CustomerID="VINET">
<OrderItem ProductID="11" Quantity="12" UnitPrice="14.0000" />
<OrderItem ProductID="42" Quantity="10" UnitPrice="9.8000" />
<OrderItem ProductID="72" Quantity="5" UnitPrice="34.8000" />
</OrderData>
Reply With Quote
  #4 (permalink)  
Old 08-25-11, 08:11
healdem healdem is online now
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,250
as per post #2
what have you tried
what have you got problems with

I can't speak for others but I don't do school/uni/home/coursework
I'll help where I can but I wont do
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
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