Presidential Grand Jury Testimony: President Bill Clinton testified, under oath, before a Federal Grand Jury
https://www.c-span.org/video/?111990-1/presidential-grand-jury-testimony
He elected to testify in order to talk his way out of it. He was not compelled. No target of a criminal investigation can be forced.