make sql configurable by sub clients