use properties for sql