Interface changes for sql