I would always be wary about taking the derivative at a single point, unless you know for sure the function is differentiable with continuous derivative ($\mathcal{C}^1$) around that point. Otherwise, issues might arise. Consider the contrived case of
$$
f(x) = \begin{cases}
1, & x = 0 \\
0, & x \ne 0 \end{cases}
$$
where the derivative wouldn't even exist at $x=0$, but if you take the derivative of each "piece" of the function you would just naively conclude $f' \equiv 0$ everywhere. But you can see the issues arise via a number of techniques, including the limit definition of the derivative:
$$
f'(\xi) := \lim_{x \to \xi} \frac{f(x) - f(\xi)}{x-\xi} \equiv \lim_{h\to 0} \frac{f(\xi+h) - f(\xi)}{h}
$$
Some enlightening examples are here.
Thanks to the definition of $\newcommand{\sign}{\operatorname{sign}}
\sign(x)$, then, your function - let's call it $f$ - technically has three pieces to be concerned with:
$$
f(x) := \begin{cases}
\sqrt{x^{2}+3x+7}, & \sign(x) =1 \text{; i.e., } x > 0 \\
\sqrt{x^{2}+3x+4}, & \sign(x) =0 \text{; i.e., } x = 0 \\
\sqrt{x^{2}+3x+1}, & \sign(x) =-1 \text{; i.e., } x < 0
\end{cases}$$
Graphically, $f$ has graph looking like this, each color representing one "case" above:

Notice how $f$ isn't even defined when $x^2+3x+1<0$, i.e. when
$$
x \in \left( \frac{-3 - \sqrt 5}{2} , \frac{-3 + \sqrt 5}{2} \right)
$$
so another concern of problems of this type to be wary of is when your derivative is defined for functions not even in the domain of $f$. I remember getting tripped on a problem of this type once, where we sought $f'$ for $f(x) := \ln(\ln(\sin(x)))$, the issue being $f$ isn't defined for any real number.
This isn't an issue for your problem, since your answer implicitly incorporates that, but I figured it worth noting in the general case.
Anyhow, the graph makes it clear that $f'$ doesn't exist at $x=0$: it isn't even continuous there. This can be seen from the limit definition, if you please. Essentially, you have
- $\sqrt{x^2+3x+1} \xrightarrow{x \to 0^-} 1$ on the left branch
- $\sqrt{x^2+3x+7} \xrightarrow{x \to 0^+} \sqrt 7$ on the right branch
- $f(0)=2$
so the limit doesn't exist, you do not have continuity, and hence do not have differentiability.
In principle, can a piecewise-defined function have a (nontrivial) piecewise-defined derivative, though? Sure, that's not an issue by any means, and sometimes is even an important thing to have (such as in the implementation of splines). A very simple example is
$$
f(x) := \begin{cases}
x^2, & x \ge 0 \\
0, & x < 0
\end{cases}
$$
Clearly, $f'$ is $2x$ for $x > 0$ and $0$ for $x<0$, and it is not hard to see from the limit definition that $f'(0) = 0$, ensuring that $f$ is differentiable despite being piecewise.