One must swear by the Name or by one of all the epithets explained in the Rambam, Laws of Oaths, chapter 2, and while standing. If one swore while sitting, he does not return and swear again, as this is only for the sake of intimidation. Therefore, a Torah scholar, out of respect for his Torah knowledge, is initially made to swear while sitting. There is no difference in this regard between a Torah-mandated oath and an oath of the Mishnah, or whether the oath is regarding a certain claim or a doubtful claim, for in all of them one must swear by the Name or by an epithet and while standing.
The order of the oath is as follows: the one swearing holds a Sefer Torah in his arm or places his hand upon it according to our custom that has been explained, and stands and swears by the Name or by an epithet, with an oath or with a curse. There is no difference whether the oath issues from his own mouth or from the mouth of the judges. How is it an oath from his mouth? That he says, "Behold, I swear by Hashem, God of Israel," or "Behold, I swear by Him whose name is Merciful," or "by Him whose name is Gracious," or by the seven names that are not erased which are explained there in the Rambam and in Yoreh Deah siman 276, "that I owe this person nothing." And in an oath of the judges where one swears and takes, he says that "this person owes me such and such."
And how is it a curse from his mouth? That he says that he should be "accursed to Hashem, God of Israel," or by the epithets, "if I have anything belonging to this person." And he says the curse upon himself in the language of "Behold I," just as in an oath. And how is it from the mouth of the judges? That the judges say, "We adjure you by Hashem, God of Israel, that you have nothing belonging to this person," or "that this person owes you such and such," and he answers "Amen." And regarding the language of a curse, they say, "Behold, so-and-so son of so-and-so is accursed to Hashem, God of Israel," or "to Him whose name is Gracious, if so-and-so son of so-and-so has money with him and he does not admit it to him." And in a case of "swears and takes," they say, "if he takes from so-and-so for nothing," and he answers "Amen," for the answering of "Amen" is like uttering the oath from his own mouth. And among us, the custom is that he swears by himself, and so it is proper to do, for people do not consider the answering of "Amen" as grave as their own oath [it appears to me].
According to the Rambam, of blessed memory, even a hesset oath is by the Name or by an epithet, with an oath or with a curse. In his opinion, there is no difference between it and an oath of the judges except that it does not involve holding a sacred object. But the poskim did not agree with him, and they said that hesset is neither by the Name nor by an epithet, but rather with a plain oath or with a curse. Our early teachers wrote that in later generations they abolished swearing by the Name even in oaths of the judges because its punishment is great, and they practiced swearing with a curse [Rashi, Shevuot 38b; and Ra'avad, chapter 11 of Shevuot]. Even though in a curse one also mentions the Name, nevertheless it is not like an oath by the Name, for in an oath one swears "by the life of Hashem," but in a curse it is nothing but a malediction upon his soul [Sma]. And in hesset one does not mention the Name at all, but rather says, "I swear that I have nothing belonging to this person" [Shach]. And in the reversal of a hesset oath, the claimant says, "I swear that such and such is due to me from this person."
Some say that oaths of the judges must be before a quorum of ten or on a day of assembly, for then many are present. Our teacher, the Rema, wrote that he did not see people practicing this. In our times, the custom even regarding a hesset oath is that if they can postpone it until a day of assembly, they postpone it, and in the meantime perhaps they will reach a compromise. We have already explained in siman 15 that when the judge sees that the claimant wants the oath so that the other will be forced to compromise with him, he does not administer the oath but rather gives him a herem stam. Besides this, there is an opinion that hesset is nothing but a herem [Sma, subsection 50]. The judge must be very careful in this, for in our times people distance themselves from an oath very, very much, and many times we see that one wants to impose an oath on his fellow in order to extract money. Therefore, the judge must act wisely in this. One of the great authorities wrote that in all his days he never ruled an oath for a Torah scholar who denies everything, only a herem, and that such is the custom in the entire land of Poland [Knesset HaGedolah]. Even if in our days we have not heard of this custom, nevertheless the judge has the power to act as it appears in his eyes, provided that his heart is toward Heaven.
צריך לישבע בשם או באחד מכל הכנוים המבוארים ברמב"ם הלכות שבועות פ"ב ומעומד ואם נשבע מיושב אינו חוזר ונשבע דאין זה רק מפני האיום ולכן ת"ח מפני כבוד תורתו משביעין אותו לכתחלה מיושב ואין חילוק בזה בין שד"א לשבועת המשנה ובין שהשבועה היא על טענת וודאי ובין שהיא על טענת ספק דבכולן צריך לישבע בשם או בכינוי ומעומד וסדר השבועה כך היא הנשבע אוחז ס"ת בזרועו או מניח ידו עליה לפי מנהגינו שנתבאר ועומד ונשבע בשם או בכינוי בשבועה או באלה ואין חילוק בין שיוצא שבועה מפיו בין מפי הדיינים כיצד היא שבועה מפיו שאומר הריני נשבע בד' אלקי ישראל או הריני נשבע במי ששמו רחום או במי ששמו חנון או בשבעה שמות שאין נמחקים המבוארים שם ברמב"ם וביו"ד סי' רע"ו שאיני חייב לזה כלום ובשבועת הדיינים דנשבע ונוטל אומר שזה חייב לי כך וכך וכיצד אלה מפיו שאומר שיהיה ארור לד' אלקי ישראל או בהכינוין אם יש לזה אצלי כלום ואומר הארור על עצמו בלשון הריני כמו בשבועה וכיצד הוא מפי הדיינים שאומרים הדיינים משביעים אנחנו אותך בד' אלקי ישראל שאין לזה בידך כלום או שזה חייב לך כך וכך והוא עונה אמן ולשון ארור יאמרו הרי פלוני בן פלוני ארור לד' אלקי ישראל או למי ששמו חנון אם יש לפלוני בן פלוני אצלו ממון ואינו מודה לו ובנשבע ונוטל יאמרו אם נוטל מפלוני בחנם והוא עונה אמן דעניית אמן הוא כמוציא שבועה מפיו ואצלינו המנהג שנשבע בעצמו וכן נכון לעשות דלא חמירי להו לאינשי עניית אמן כשבועת עצמו [נ"ל] ולהרמב"ם ז"ל גם שבועת היסת בשם או בכינוי בשבועה או באלה ולדעתו אין בינה לשבועת הדיינים אלא מה שהיא אינה בנק"ח ולא הודו לו הפוסקים ואמרו דהיסת אינה לא בשם ולא בכינוי אלא בשבועה סתם או בארור וכתבו רבותינו הראשונים שבדורות אחרונים בטלו שבועה בשם אף בשבועות הדיינים לפי שעונשה גדול ונהגו להשביע בארור [רש"י שבועות ל"ח: וראב"ד פי"א משבועות] ואף שגם בארור מזכיר השם מ"מ לא הוי כשבועה בשם שבשבועה נשבע בחיי ד' אבל בארור אינו אלא קללה לנפשו [סמ"ע] ובהיסת אינו מזכיר כלל השם אלא אומר אני נשבע שאין לזה אצלי כלום [ש"ך] ובהיפוך שבועה בהיסת אומר התובע אני נשבע שמגיע לי מזה כך וכך וי"א דשבועות הדיינים צריכה להיות לפני מניין עשרה או ביום הכניסה דאז שכיחי רבים ורבינו הרמ"א כתב שלא ראה נוהגים כן ובזמנינו המנהג גם בשבועת היסת אם יכולין לדחות על יום הכניסה דוחין ובין כך שמא יתפשרו וכבר בארנו בסי' ט"ו שכשהדיין רואה שהתובע רוצה השבועה כדי שיוכרח להתפשר עמו אינו משביעו אלא נותן לו ח"ס ולבד זה יש דיעה שהיסת אינה אלא חרם [סמ"ע ס"ק נ'] וצריך הדיין ליזהר מאד בזה כי בזמנינו מרחיקין א"ע משבועה מאד מאד וכמה פעמים אנו רואים שאחד רוצה להטיל על חבירו שבועה כדי להוציא ממון לכן צריך הדיין להתחכם בזה ואחד מהגדולים כתב שמימיו לא פסק שבועה לת"ח בכופר הכל רק חרם ושכן המנהג בכל מדינת פולניא [כנ"י] ואם שבימינו לא שמענו מנהג זה מ"מ יש כח ביד הדיין לעשות כפי הנראה בעיניו ובלבד שיהא לבו לשמים: