for sql memorandum