SQL Server append XML child nodes to parent node
问题 I need to have a script which can insert / append new xml child nodes to a pre-existing xml parent node. --New child nodes DECLARE @XMLChildData XML SET @XMLChildData = ' <Persons> <Person> <Firstname>Gary</Firstname> <Surname>Smith</Surname> <Telephone>0115547899</Telephone> <Address> <AddressLine>1 Church Lane</AddressLine> <AddressLine>Rosebank</AddressLine> <AddressLine>Houghton</AddressLine> <AddressLine>South Africa</AddressLine> </Address> </Person> <Person> <Firstname>Wayne</Firstname