code_junkie

Using XQuery in Linq To SQL?

Nov 11th, 2011
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. select top 10 *,
  2. Content.value('(/root/item/value)[1]', 'float') as Value
  3. from xmltabletest
  4. where Content.value('(/root/item/MessageType)[1]', 'int') = 1
Add Comment
Please, Sign In to add comment