Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 1st, 2012  |  syntax: None  |  size: 0.13 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. LINQPad and T-SQL
  2. WITH foo AS (
  3. SELECT * FROM (
  4. VALUES (5,2),
  5.         (6,3),
  6.         (7,4)
  7. ) [x](id,quantity)
  8. )
  9. select * from foo;