Implement parsing for sql option statments.

This fixes #219