For an exercise I have to show that the number of non-isomorphic degree $2$ extensions of the field of $p$-adic numbers $\mathbb{Q}_p$ equals $3$. I was able to show that $$\mathbb{Q}_p^\times/\left(\mathbb{Q}_p^\times\right)^2 \cong \mathbb{Z}/2\mathbb{Z} \oplus \mathbb{Z}/2\mathbb{Z}$$ where $K^\times$ denotes the group of units in the field $K$. If I could prove that $\mathbb{Q}_p(\sqrt{d}) \cong \mathbb{Q}_p(\sqrt{e})$ if and only if $d = u^2e$ for $p$-adic numbers $d,e,u$, then I would be done.
I recalled the proof that $\mathbb{Q}(\sqrt{2})$ is not isomorphic to $\mathbb{Q}(\sqrt{3})$, where it is shown that (well, at least in the proof I saw) that if there would have been an isomorphism, then $\sqrt{2}$ would be an element of $\mathbb{Q}(\sqrt{3})$, but this proof uses that the isomorphism would fix the rational numbers. I do not immediately see how to generalize this to the $p$-adic case.
Any hints or would my approach be completely wrong?
Answer using hint We might consider integers. Let $d,e$ be integers such that there is no $p$-adic number $u$ satisfying $d = u^2e$. Suppose however that $\mathbb{Q}_p(\sqrt{d}) \cong \mathbb{Q}_p(\sqrt{e})$ by some isomorphism $\phi$. Note that $\phi(1) = 1$, hence we have that $$d = 1 + 1 + \ldots + 1 = \phi(1)+ \ldots + \phi(1) = \phi(d) = \phi(\sqrt{d}^2) = \phi(\sqrt{d})^2$$ hence $\phi(\sqrt{d}) = \pm \sqrt{d}$. This implies that $\sqrt{d} \in \mathbb{Q}_p\sqrt{e})$. Since $\mathbb{Q}_p(\sqrt{e})$ is a vectorspace over $\mathbb{Q}_p$ of dimension $2$ we can pick a basis $\{1, \sqrt{e}\}$, from which we find that $$\sqrt{d} = a + b\sqrt{e}$$ with $a,b \in \mathbb{Q}_p$. However, this implies that $d = a^2 + 2ab\sqrt{e} + b^2e$ and this results in $$\begin{cases} d &= a^2 + b^2e\\ 0&= 2ab \end{cases}$$ The last equations implies that either $a$ or $b$ is zero. But this implies that $d = b^2e$ respectively $d = a^2$. The former is not possible by assumption, while the latter does not give an extension of degree $2$. Hence these extensions can not be isomorphic.