If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Get Instance Name & Port Number

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-24-11, 06:53
db2champ db2champ is offline
Registered User
 
Join Date: Jul 2011
Posts: 46
Get Instance Name & Port Number

Hi,
How to get Connected Instance name and Instance Port number?
I want SQL query to get these informations?
Reply With Quote
  #2 (permalink)  
Old 10-24-11, 07:10
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
you can not connect to the instance only attach
instance name is almost never used, as the port is unique for the instance
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #3 (permalink)  
Old 10-24-11, 07:13
db2champ db2champ is offline
Registered User
 
Join Date: Jul 2011
Posts: 46
Instance Name

Thank you, I was looking command -- GET INSTANCE

Last edited by db2champ; 10-24-11 at 07:25.
Reply With Quote
  #4 (permalink)  
Old 10-24-11, 08:41
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On