Updated in search functionality mssql and mysql