i have one table where one field type is xml and there data is saved in xml format. my xml is
<Record xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DELETED>
<STOCK_CODE>111111</STOCK_CODE>
<MakeID>GB00000001</MakeID>
<ModelID>GB00000001</ModelID>
<EngineSize />
<YearMakeFrom>0</YearMakeFrom>
<YearMakeTo>0</YearMakeTo>
<Automatic>1</Automatic>
<SemiAutomatic>1</SemiAutomatic>
<Manual>0</Manual>
<OtherInfo />
<Status>UPDATED</Status>
</DELETED>
</Record>
so please tell me how could i query the above xml document in sql server 2005. please help. thanks.