http://it.toolbox.com/blogs/data-ruminations/one-for-the-trash-bin-is-it-recursive-sql-model-or-match_recognize-73887