I've got table, which contains XML-type column in it. Some of the values in this column begin with
<MyAuthenticationParams>
.....
</MyAuthenticationParams>
And some with
<Sm1AuthenticationParams>
.......
</Sm1AuthenticationParams>
How can I select only records with parent node MyAuthenticationParams? Thanks for any help.
EDIT: This is how XML looks like
<MyAuthenticationParams xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<AlsoParams>
<SecretKey>MVHXAQA5kF4Ab9siV4vPA4aVPn1EKhbqIBrpCZx2Hg</SecretKey> <DynamicDescriptor />
</AlsoParams>
<myParams>
<AccountName>Acc1</AccountName>
<Username>testUsername</Username>
</myParams>
</MyAuthenticationParams>
or like this
<Sm1AuthenticationParams xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<AccountName>XGwzJ6RR</AccountName>
<SomeNumber>123456780</SomeNumber>
</Sm1AuthenticationParams>
