Here are some example from the link I posted aboveDECLARE @Sample TABLE ( RowID INT IDENTITY(1, 1) PRIMARY KEY, Data XML )INSERT @Sample SELECT ' <Contact xmlns="http://www.focus-solutions.co.uk/focus360/1.0" id="00496bb7-0046-4459-8cf8-002cc5921f4c" documentId="494f4671-efe8-4577-aecc-4424b699a89c"> <Type code="FirstMeeting">First meeting</Type> <Location code="ClientHome">Client Home</Location> <PresentationInd>true</PresentationInd> <OtherAddress> <HouseNameNumber>1</HouseNameNumber> <AddressLine1>Royal Terrace Gardens</AddressLine1> <City>Edinburgh</City> <Postcode>EH7 5DX</Postcode> </OtherAddress> <Date>2009-09-08</Date> <Time isoTime="15:00:00"> <Hours>03</Hours> <Minutes>00</Minutes> <Period>PM</Period> </Time> <Duration> <Hours>01</Hours> <Minutes>00</Minutes> </Duration> <Notes /> <LetterSentInd>true</LetterSentInd> <Documents> <Document id="a7b36eec-ed51-4f22-8465-267a893fd8a0" externalId="494f4671-efe8-4577-aecc-4424b699a89c" userAttached="false"> <Type code="ConfirmationLetter">Confirmation Letter</Type> <Reference>Joe Marton First meeting</Reference> <CreatedDate>2009-09-18</CreatedDate> </Document> </Documents> <CustomQuestions> <Question type="HasMeetingTakenPlace"> <Answer>true</Answer> </Question> <Question type="ClientContacted"> <Answer>Joe Marton</Answer> </Question> </CustomQuestions> <Valid>true</Valid> </Contact>';WITH XMLNAMESPACES('http://www.focus-solutions.co.uk/focus360/1.0' AS peso)SELECT RowID, Data.value('/peso:Contact[1]/@documentId', 'UNIQUEIDENTIFIER') AS documentId, Data.value('/peso:Contact[1]/peso:PresentationInd[1]/text()[1]', 'BIT') AS PresentationInd1, Data.value('/peso:Contact[1]/peso:PresentationInd[1]/text()[1]', 'VARCHAR(MAX)') AS PresentationInd2FROM @Sample
N 56°04'39.26"E 12°55'05.63"