PC Review


Reply
Thread Tools Rate Thread

Connecting ORACLE as SYSDBA

 
 
Eidolon
Guest
Posts: n/a
 
      15th Mar 2004
We currently use the Microsoft Native .NET Provider for Oracle to do our
connections with...
For one app we really need to be able to connect to the db as a SYSDBA user.

Does anyone know how this can be done using the MS.NET Oracle provider??

Thanks in advance,


 
Reply With Quote
 
 
 
 
Cowboy \(Gregory A. Beamer\)
Guest
Posts: n/a
 
      15th Mar 2004
I am not sure, as I am not as well versed on the admin side of Oracle. As
long as the SYSDBA user can be named or aliased (for a connection string), I
see no reason why not. I would be wary about where you store this
connstring, however; encryption would be a must for this type of secret.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

**********************************************************************
Think Outside the Box!
**********************************************************************
"Eidolon" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> We currently use the Microsoft Native .NET Provider for Oracle to do our
> connections with...
> For one app we really need to be able to connect to the db as a SYSDBA

user.
>
> Does anyone know how this can be done using the MS.NET Oracle provider??
>
> Thanks in advance,
>
>



 
Reply With Quote
 
Roy Fine
Guest
Posts: n/a
 
      16th Mar 2004
Eidolon,

This was a much requested feature in the OLEDB MetaLink groups - and the
company line was always "not available now, but will consider it in future
releases" - and in OLEDB, it never came.

That said, Oracle did add it in the Oracle Data Provider for .Net. I have
no details on the Microsoft Native .NET Provider for Oracle, but here is how
we do it with the Oracle Provider:

/* ********************** */
string cnxtstr = "User Id=SYS;Password=ChangeOnInstall;DBA
Privilege=SYSDBA;Data Source=TNS_ENTRY;";
OracleConnection cnxn = new OracleConnection(cnxtstr);
cnxn.Open();
/* ********************** */


regards
roy fine


"Eidolon" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> We currently use the Microsoft Native .NET Provider for Oracle to do our
> connections with...
> For one app we really need to be able to connect to the db as a SYSDBA

user.
>
> Does anyone know how this can be done using the MS.NET Oracle provider??
>
> Thanks in advance,
>
>



 
Reply With Quote
 
Roy Fine
Guest
Posts: n/a
 
      16th Mar 2004
Eidolon,

This was a much requested feature in the OLEDB MetaLink groups - and the
company line was always "not available now, but will consider it in future
releases" - and in OLEDB, it never came.

That said, Oracle did add it in the Oracle Data Provider for .Net. I have
no details on the Microsoft Native .NET Provider for Oracle, but here is how
we do it with the Oracle Provider:

/* ********************** */
string cnxtstr = "User Id=SYS;Password=ChangeOnInstall;DBA
Privilege=SYSDBA;Data Source=TNS_ENTRY;";
OracleConnection cnxn = new OracleConnection(cnxtstr);
cnxn.Open();
/* ********************** */

regards
roy fine


"Eidolon" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> We currently use the Microsoft Native .NET Provider for Oracle to do our
> connections with...
> For one app we really need to be able to connect to the db as a SYSDBA

user.
>
> Does anyone know how this can be done using the MS.NET Oracle provider??
>
> Thanks in advance,
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems connecting to Oracle 9i database with Oracle 10g Client and Win XP x64 Sacha Korell Microsoft ADO .NET 2 17th Oct 2006 11:05 PM
error while connecting to oracle from Microsoft .net data provider for oracle Reny J Joseph Thuthikattu Microsoft VB .NET 8 16th Aug 2004 12:48 PM
Re: error while connecting to Oracle using Microsoft .NEt oracle client Bob Clegg Microsoft VB .NET 0 1st Apr 2004 11:18 AM
Q: Login Oracle as SYSDBA ?? Eidolon Microsoft ADO .NET 0 12th Sep 2003 10:05 PM
Problems connecting to Oracle using Oracle Provider for .Net Framwork RDF Microsoft ADO .NET 1 13th Aug 2003 10:09 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:50 PM.