How to convert XML data into row column data in SQL Server
问题 I have a requirement where I have XML data in database, which I need to pull in the form of row and Column from database. My XML is like <Equipment> <EquipmentRecord> <EquipmentType>E</EquipmentType><MfgName>APPLE iPH564WHT</MfgName><Model>885909600205</Model><ActDate>10/26/2012</ActDate><CancelDate /> </EquipmentRecord> <EquipmentRecord> <EquipmentType>E</EquipmentType><MfgName>SAMSUNG D710 HANDSET KIT</MfgName><Model>SPHD710KIT</Model><ActDate>09/04/2012</ActDate><CancelDate>10/01/2012<