Robbie Williams wrote a hit song after boozing too much after he left the boy band Take That and started a solo career.