DECLARE @x xml
SET @x = '<?xml version="1.0" encoding="utf-8"?>
<getDealDetail>
<errorCode>0</errorCode>
<errorMessage></errorMessage>
<buyerName></buyerName>
<buyerUin>284073437</buyerUin>
<buyerRemark></buyerRemark>
</getDealDetail>'
SELECT @x.query('/getDealDetail/buyerUin')