OAKLAND — Patrick Ewing wasn’t at the party. So says his chief confidant, Herb Williams, the 41-year-old former Knicks center who was released by the club before training camp.

Williams, a Knick for seven years and one of Ewing’s close friends, was their tri-captain in 1997, when allegedly a team sexfest occurred in a Charleston hotel before their first-round playoff series against Charlotte.

Although the Knicks are not accused of any wrongdoing, the sex party was mentioned in a 97-page federal indictment as part of Wednesday’s arrest of strip-club owner Steve Kaplan. An associate of the Gambino crime family, Kaplan allegedly flew in exotic dancers and hookers from Atlanta’s Gold Club to perform a lesbian sex show and offer sexual services to unidentified Knick players.

The alleged party was first reported in Wednesday’s Charleston Post andCourier.

Williams said he didn’t know about the party but does know one thing. “Patrick wouldn’t have been there,” Williams told The Post from his Westchester home. “We had dinner together every night.”

The Knicks traditionally hole up in Charleston right before the playoffs in an attempt to limit distractions.

“If it’s true, it is embarrassing, especially if you’re married,” the ex-Knick locker-room sage said. “It sounds like it was pretty wild. What, I hear, lesbian sex? I didn’t laugh when I heard it because it could be a serious issue for some people.”

Late Friday night in Phoenix, Ewing said, “I have nothing to say” when asked if he was part of the Knicks’ alleged sexual shenanigans in Charleston. Chris Childs and John Wallace, also on that team, denied involvement Friday, too.