I should know the answer to this question, but thought id check, as im tired (excuses, excuses

I currently have my HDD set up on IDE cables instead of SATA, because at the time i forgot to pick up some SATA leads, and had IDE in the house. I want to change to SATA and was wondering can i just swap them over, by which i mean, unplug the IDE and then just put the SATA on?