Yes I know I need to use a convert function, but what I don't know is the syntax in SQL to convert the field to XML and then extract the value of a single item. So below is an example of my "ProfileData" field. What I need to do in SQL is get the value of the "ProfileEmailAlert" item for module 6882 (highlighted in bold)
<item key="6882:ProfileEmailAlert" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"><boolean>false</boolean></item><item key="6882:ProfileMode" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"><boolean>1</boolean></item><item key="7105:ProfileEmailAlert" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"><boolean>false</boolean></item><item key="7105:ProfileMode" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"><boolean>1</boolean></item>
Can anyone help me with the correct SQL syntax?