Re: Informix SQL Query to pull some
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > WebserverTalk Community > Voice Over IP > Voice over IP Cisco > Re: Informix SQL Query to pull some




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: Informix SQL Query to pull some  
Mladen Milanovic


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-29-07 06:11 PM

Bernard,
thans a lot. You helped me a lot.

Mladen

-----Original Message-----
From: Bernhard Albler [mailto:balbler@nts.at]
Sent: Saturday, December 29, 2007 2:53 AM
To: Mladen Milanovic; cisco-voip@puck.nether.net
Subject: AW: [cisco-voip] Informix SQL Query to pull some
configurationinformation

Mladen,

the following query might give you what you want. run ist via "run sql"
on the cli:

select d.name,d.description,np.dnorpattern,np.description from device
d,busylampfield blf,numplan np where d.pkid=blf.fkdevice and
blf.fknumplan=np.pkid order by d.pkid,blfindex

gives you something along these lines:
name            description                        dnorpattern
description
=============== ================================== ===========
=================================
SEP001DA290A3C1 OFCD - RID: 98137856               68000
OFCD_68000
SEP001DA290A3C1 OFCD - RID: 98137856               68001
OFCD_68001
SEP001DA290A3C1 OFCD - RID: 98137856               68002
OFCD_68002
SEP001DA290A3C1 OFCD - RID: 98137856               68004
OFCD_68004
SEP001DA290A3C1 OFCD - RID: 98137856               68005
OFCD_68005
SEP001DA290A3C1 OFCD - RID: 98137856               66001       OFCC FLZ
Slot Desk_OFCC_FLZ_66001
SEP001DA290A3C1 OFCD - RID: 98137856               66000       OFCC FLZ
Airbus_OFCC_FLZ_66000
SEP001DA290A3C1 OFCD - RID: 98137856               68291
OFCD_Schnurlos_68291

There is also a label field on the busylampfield table, if you that is
more meaningful than the description of the dn that is monitored.

regards
bernhard





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:33 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register