How to retrieve values , if you are getting xml as a input parameter in a stored procedures..
There are situations when we have to send xml as a input parameter, there are multiple ways to fetch values from xml..
Iam listing one of them
Take an example you are getting employee information in xml format
<Root>
<Employee Code="1">
<Name>Tim<Name>
</Employee>
<Employee Code="2">
<Name>Jimmy<Name>
</Employee>
</Root>
I want to retrieve Code and Name from Xml