Hi,
As stated in the Doc, -Deploy command only apply for managed code projects. The SQL etc. projects should not be Managed Code project, I have not tried it myself but I am afraid this -deploy command would not work in this particular solution.
Reference : What is "managed code"?
Regards,
Lukas