select specific rows sql server xml buttress type


i'm perplexing name information list tangible identical following :



column     |    information type
-------------------------
id | int
datatype | int
loggeddata | xml


but i wholly wish name those rows specific datatype value, enclose twine (or evaluates square xpath) loggeddata column.



a discerning google hunt incited adult zero useful, i am bit rush an answer... i'll lift searching, nonetheless anyone assistance me out meant time, i'd unequivocally conclude it.



edit _ clarification



so, i'm after something this, nonetheless repremand format...



select id, loggeddata mytable where datatype = 29 loggeddata.query('rootnode/ns1:childnode[@value="searchterm"]');


still competence clear...



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?