Connected scheme of dimension $0$ which admits a monomorphism to an affine scheme

76 Views Asked by At

Let $X$ be a connected scheme of dimension $0$ (not necessarily Noetherian). If there exists an affine scheme $Y$ such that there exists a monomorphism (in the category of schemes) $X \to Y$, then is $X$ affine ?

If this is not true in general, what if we also assume $Y$ is Noetherian ?