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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-24-11, 17:07
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, 18:58
Pat Phelan Pat Phelan is online now
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,613
Do you have the missing XML needed to ocomplete your schema?

What tools will you be using? What language does your teacher expect you to use to write the procedure?

What have you tried so far? (with a nod to healdem)

-PatP
__________________
In theory, theory and practice are identical. In practice, theory and practice are unrelated.
Reply With Quote
  #3 (permalink)  
Old 08-25-11, 06:59
cmduser cmduser is offline
Registered User
 
Join Date: Aug 2011
Posts: 4
I have just this question for home work,and how can i make this procedure,that we take at this result,on xml.
The procedure is to make on SLQ.

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
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