更新时间:2023-01-27 22:17:34
Oracle允许数据库管理员使用SYSDBA或SYSOPER特权连接到Oracle数据库.这是通过ConnectionString的DBA Privilege属性完成的.
Oracle allows database administrators to connect to an Oracle Database with either SYSDBA or SYSOPER privileges. This is done through the DBA Privilege attribute of the ConnectionString.
//Connect SYS/SYS as SYSDBA
con.ConnectionString = "User Id=SYS;Password=SYS;" +
"DBA Privilege=SYSDBA;Data Source=oracle;";