Trouble extracting xml data when it has different namespaces?

Ignore namespaces!
"select @xmlDoc.query('data(/*:authors/*:child/*:id)') as UserID"
from blog post http://maxbarrass.blogspot.se/2008/02/sql-2005-xml-xquery-ignore-namespaces.html

Comments

Popular posts from this blog

Constructing nested array structs in BigQuery

How to decrypt stored password from SSMS registered servers

Cause for Parameter is incorrect 0x80070057 error in ssis