Fainting

Has anyone experienced a fainting episode during their pregnancy. I fainted today & thank God I was at the doctor's office but I was just wondering how common it is.