From the below table,
Is there a way to extract the name of the Root node 'Main' alone from the column 'XML_data' using SQL server?
UPDATE:
DECLARE @ProdID int
create table #xmldata(id int,data xml)
insert into #xmldata
select
id = '011',
data = '<Root>
<ProductDescription ProductID="1" ProductName="Road Bike">
<Features>
<Warranty>1 year parts and labor</Warranty>
<Maintenance>3 year parts and labor extended maintenance is available</Maintenance>
</Features>
</ProductDescription>
</Root>'
select * from #xmldata
SET @ProdID = #xmldata.data.value('(/Root)[1]', 'varchar' )
SELECT @ProdID
drop table #xmldata

[data]an XML column so that you can use XML functions on the column. They don't work on VARCHAR columns. Also, your script does not align with what is in the table in the screenshot.