Groups | Blog | Home
all groups > dotnet ado.net > august 2006 >

dotnet ado.net : Connecting to Oracle Database.


LineVoltageHalogen
8/30/2006 11:49:33 AM
Greetings All, I am writing a small test app in C# .Net 2.0 that needs
to connect to an Oracle 10g database. I need to use Microsoft's data
provide System.Data.OracleClient to connect to the database and I need
to connect as "SYS." There seems to be no provision for connecting as
"SYSDBA"? Am I missing something or is this a limiation of the
provider? Any help would be greatly appreciated.

Regards, TFD
Frans Bouma [C# MVP]
8/31/2006 1:16:55 AM
[quoted text, click to view]

Correct, there's no connection string option to specify if the
connection should be made as SYSDBA or DBA privileges.

Why do you need SYSDBA access btw? You could login as SYSTEM, which
has most privileges as well.

FB

--
------------------------------------------------------------------------
Lead developer of LLBLGen Pro, the productive O/R mapper for .NET
LLBLGen Pro website: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
LineVoltageHalogen
8/31/2006 6:45:38 AM
Frans, thanks for the input. I actually don't need to be "SYS' for
what I need to do, I can get by with a user that has the "DBA" role
assigned. My concern is that someone will try to login as hte "SYS"
user but that can be trapped with data input validation. Anyhow, you
have been a help.

Regards, TFD.


[quoted text, click to view]
AddThis Social Bookmark Button