Okla. Stat. tit. 22, § 764
The application may be made to the court or to a judge thereof, and must be made upon five (5) days notice to the counsel for the opposing party, if any.
R.L. 1910, § 6028; Amended by Laws 1994, SB 666, c. 292, § 8, eff. September 1, 1994.