Yes, but you will also need a neutral and earth connection. If the cable is three core and earth, then you can disconnect the spare conductor and place both ends in an insulated connector to prevent any accidental contact with live parts.
DIY how to tutorial projects and guides - Did you know we have a DIY Projects section? Well, if no, then we certainly do! Within this area of our site have literally hundreds of how-to guides and tutorials that cover a huge range of home improvement tasks. Each page also comes with pictures and a video to make completing those jobs even easier!