Question: 1. Write a script that inserts a new row into the Customers table for each customer stored in the NewCustomers.xml file below. To accomplish this,

1. Write a script that inserts a new row into the Customers table for each customer stored in the NewCustomers.xml file below.

To accomplish this, begin by storing the contents of the XML file in a variable of the XML type. Then, you can use an INSERT statement to insert the rows into the Customers table.

***** I can do the inserts scripts i believe. I really need help with storing the contents in a variable of the XML type.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!