OracleDatabase and MSSQLServerDatabase class were deprecated in Xojo 2023r2 and you are recommended to use ODBCDatabase class instead.
If you need native access to Oracle, Microsoft SQL Server and other databases, your best choice is to use our MBS Xojo SQL Plugin.
We provide direct access to CubeSQL, Centura SQLBase, DB2, DuckDB, Firebird, Informix, InterBase, MariaDB, Microsoft Access, Microsoft SQL Server, MySQL, ODBC, Oracle Database Server, PostgreSQL, SQL Anywhere, SQLite, SQLCipher and Sybase. And of course we got MongoDB classes, too.
Please try it and let us know if you have questions.