The water needs to be turned off to fix the pipe. There is a way to drain the line. While holding the pipe with a pair of pliers, heat the joint with a propane torch. When the solder starts melting, remove the pipe from the joint.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.