I can insert any query, but when I close the window of the SQLMemo it always get's replaced by "SELECT SYSDATE from DUAL" Am I doing something wrong?