Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: VB.Net connection to Oracle 10G database

Re: VB.Net connection to Oracle 10G database

From: <frank.van.bortel_at_gmail.com>
Date: 21 Mar 2006 00:30:11 -0800
Message-ID: <1142929811.490687.23710@u72g2000cwu.googlegroups.com>


Dave,

add a where clause to your query:
SELECT sid, serial#, client_identifier, service_name, action, module FROM
V$SESSION where type='USER'

That will only show user sessions, not the background (Oracle system) sessions, too.

As for your service_name, try:
select * from global_name;

Try whatever that delivers for a service_name in your tnsnames.ora

If you are sure your network is set up correctly, post tnsnames.ora, sqlnet.ora and listener.ora Received on Tue Mar 21 2006 - 02:30:11 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US