Home » Infrastructure » Windows » How can I login as SYSDBA in C#
How can I login as SYSDBA in C# [message #222443] Sun, 04 March 2007 17:24 Go to next message
abo_mahmoud
Messages: 31
Registered: May 2006
Location: UAE
Member
How can I login as SYSDBA in C# ..........?
or the question is what should I put in the connection string to login as SYSDBA?
Re: How can I login as SYSDBA in C# [message #222465 is a reply to message #222443] Mon, 05 March 2007 00:00 Go to previous message
michael_bialik
Messages: 611
Registered: July 2006
Senior Member
You can do it using Oracle Data Provider:

OracleConnection con = new OracleConnection();
con.ConnectionString = "User Id=SYS;" + 
    "Password=CHANGE_ON_INSTALL;DBA Privilege=SYSDBA;" + 
    "Data Source=oracle;";
con.Open();


HTH
Previous Topic: Which version of oracle suitable for windows 2000 or XP professional?
Next Topic: oracle 10g problem
Goto Forum:
  


Current Time: Sun Dec 04 18:59:50 CST 2016

Total time taken to generate the page: 0.21499 seconds