First step for executing SQL in DBEditorDialog