SQL Adapter sample

previously posted with the labs but highlighting here because lots of folks keep asking me for it...