You will have to plug it into another computer to confirm if it works.
If you bend SATA cables at more than 90 degrees, data loss can occur, and has happened to me.
I have fried SATA-based drives(even DVD drives) before by overclocking the PC-apparently I had overclocked it to the point where the PC consumed the entire 350 watts of my power supply, and once the drive spinned up to get ready for the OS boot, the PC stopped dead. The drive(s) were no longer useable. I'm thinking your PC's PSU was pushed to the max because you also had an IDE drive in there. What model PSU do you have? It would help if you listed all the components of your PC. (graphics card, DVD drives, etc.)