Modifications to support content provider for sql