edit of sql script