validation for SQL_DOWNLOAD added