1. The meaning: all work deserves respect
This proverb says that no job is foolish (« sot »): only people can be. In full: il n'y a pas de sot métier, il n'y a que de sottes gens.
2. In speech: « y a pas d'sot métier »
In speech, people often drop ne and il: « y a pas d'sot métier », as in the song. In writing: il n'y a pas de sot métier.