I need some help, plz read this
i am using Java API for SNMP called SNMP4j, and using netbeans as IDE for JAVA and my project is abt getting the MPLS VPN information from cisco routers MIB called PPVPN-MPLS-VPN-MIB, i need to get the information in all of the eight tables in this mib using SNMP API as i already said, im interested to get the entire tables, whereas i can get only the first row of each table.
if someone knows that how can i access the whole table or how would i know that how many number of rows are there in each table then i would be able to do what is intended.
my problem is related to SNMP objects instance identification,
please please, reply as soon as possible, thanking in anticipation.
Hi,
Welcome to the forum!
This site replaces multiple whitespace with a single space by default, so things that are nicely formatted when you post them look terrible after you post them.
Type these 6 characters
{code}
(small letters only, inside curly brackets) before and after formatted text, to preserve spacing.
Re-arranging your one-column output into three columns is called pivoting.
Here's one way to do it:
WITH got_rnum
AS
SELECT ename
, LENGTH (ename) AS len
, ROW_NUMBER () OVER ( PARTITION BY LENGTH (ename)
ORDER BY ename -- optional
) AS rnum
FROM scott.emp
SELECT MAX (CASE WHEN len = 4 THEN ename END) AS length_4
, MAX (CASE WHEN len = 5 THEN ename END) AS length_5
, MAX (CASE WHEN len = 6 THEN ename END) AS length_6
FROM got_rnum
GROUP BY rnum
ORDER BY rnum;The only place where I had to know what the lengths were was when I wrote three lines for the SELECT clause (for lengths 4, 5, and 6).
If you the query to do this, then you have to use dynamic SQL, to figure out how many different lengts there are, and what they are, and to write an appropriate SELECT clause for you.
As dynamic SQL gioes, this is pretty easy. You can do it in SQL*Plus or PL/SQL.
Similar Messages
-
The backup disk image “/Volumes/Data/David Witkowski’s Mac Pro.sparsebundle” is already in use. Whenever Time Machine starts to backup to Time Capsuel I get the previous error message Where can I find this disk image?. I need some help to fix this.
Thanks,
David WThere are multiple answers and solutions if you look just to the right under the heading of More Like This.
-
at the end of iOS6 download,my ipod touch says 'update failed'.i need some help to resolve this problem. thanks
Try:
- Reset the iPod. Nothing will be lost
Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Next connect to iTunes and update via iTunes. Others have had the same problem. -
Need some help in debugging this exported script
Below is DDL generated by visio forward engineering tool . The example below consists of 2 test tables with one foreign key.
Forward engineering generated DDL script
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[Table1]') AND type in (N'U'))
DROP TABLE [dbo].[Table1]
GO
CREATE TABLE [dbo].[Table1] (
[test] CHAR(10) NOT NULL
, [test2] CHAR(10) NULL
GO
ALTER TABLE [dbo].[Table1] ADD CONSTRAINT [Table1_PK] PRIMARY KEY CLUSTERED (
[test]
GO
GO
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[Table2]') AND type in (N'U'))
DROP TABLE [dbo].[Table2]
GO
CREATE TABLE [dbo].[Table2] (
[test2] CHAR(10) NOT NULL
GO
ALTER TABLE [dbo].[Table2] ADD CONSTRAINT [Table2_PK] PRIMARY KEY CLUSTERED (
[test2]
GO
GO
ALTER TABLE [dbo].[Table1] WITH CHECK ADD CONSTRAINT [Table2_Table1_FK1] FOREIGN KEY (
[test2]
REFERENCES [dbo].[Table2] (
[test2]
GO
GO
When i converted this DDL script using scratch editor the migration tool gave some errors can anyone help me to resolve below
DECLARE
v_temp NUMBER(1, 0) := 0;
BEGIN
BEGIN
SELECT 1 INTO v_temp
FROM DUAL
WHERE EXISTS ( SELECT *
FROM objects
WHERE OBJECT_ID_ = NULL/*TODO:OBJECT_ID(N'[OPS].[Table1]')*/
AND TYPE IN ( N'U' )
EXCEPTION
WHEN OTHERS THEN
NULL;
END;
IF v_temp = 1 THEN
TRUNCATE TABLE Table1;
END IF;
END;
CREATE TABLE Table1
test CHAR(10) NOT NULL,
test2 CHAR(10)
ALTER TABLE Table1
ADD
CONSTRAINT Table1_PK PRIMARY KEY( test );
--SQLDEV:Following Line Not Recognized
DECLARE
v_temp NUMBER(1, 0) := 0;
BEGIN
BEGIN
SELECT 1 INTO v_temp
FROM DUAL
WHERE EXISTS ( SELECT *
FROM objects
WHERE OBJECT_ID_ = NULL/*TODO:OBJECT_ID(N'[OPS].[Table2]')*/
AND TYPE IN ( N'U' )
EXCEPTION
WHEN OTHERS THEN
NULL;
END;
IF v_temp = 1 THEN
TRUNCATE TABLE Table2;
END IF;
END;
CREATE TABLE Table2
test2 CHAR(10) NOT NULL
ALTER TABLE Table2
ADD
CONSTRAINT Table2_PK PRIMARY KEY( test2 );
--SQLDEV:Following Line Not Recognized
ALTER TABLE Table1
ADD
CONSTRAINT Table2_Table1_FK1 FOREIGN KEY( test2 ) REFERENCES Table2 (test2)
--SQLDEV:Following Line Not Recognized
;Pl do not post duplicates - Need some help in debugging this script
-
i need some help! my i phone has switch off totally blank as if there is no baterry, i cant wsitch on anymore, i live in Africa whereby there is no any apple offises arroung, i want to find a solution thats why i am asking for the help
Plug in iPhone with Wall Charger for 10 minutes, it may turn on itself. If not, keep on Wall Charger and Reset, hold both Home and Power buttons until the iPhone begins to restart. This usually takes less than 20 seconds of holding both buttons.
-
I need Some help to complete this program
i write this program to call file from my hard drive "the file name is
input.tex" "the program the file and the result for the program are below"
please read the program and the file befor you read my question
now, i need to use 3 arrays
1) first array to read this part
include[0]: VAR ZRO 1
include[1]: +0000000000
include[2]: VAR I 1
include[3]: +0000000000
include[4]: VAR SUM 1
include[5]: +0000000000
include[6]: VAR AVG 1
include[7]: +0000000000
include[8]: VAR N 1
include[9]: +0000000000
include[10]: VAR TMP 1
include[11]: +0000000000
include[12]: VAR DTA 990
include[13]: +0000000000
in this way
VAR ZRO 1
VAR I 1
VAR SUM 1
VAR AVG 1
VAR N 1
VAR TMP 1
VAR DTA 990
2) second array is dimensional array to read this part
include[15]: READ N
include[16]: LABL 20
include[17]: READ TMP
include[18]: GE TMP ZRO 40
include[19]: SUB ZRO TMP TMP
include[20]: LABL 40
include[21]: PUTA TMP DTA I
include[22]: LOOP I N 20
include[23]: MOVE ZRO I
include[24]: LABL 50
include[25]: GETA DTA I TMP
include[26]: ADD TMP SUM SUM
include[27]: LOOP I N 50
include[28]: DIV SUM N AVG
include[29]: PRNT AVG
include[30]: STOP
in this way
READ N
LABL 20
READ TMP
GE TMP ZRO 40
SUB ZRO TMP TMP
LABL 40
PUTA TMP DTA I
LOOP I N 20
MOVE ZRO I
LABL 50
GETA DTA I TMP
ADD TMP SUM SUM
LOOP I N 50
DIV SUM N AVG
PRNT AVG
STOP
3) the third to read this part
include[32]: +0000000005
include[33]: +0000000020
include[34]: -0000000430
include[35]: +0000000553
include[36]: +0000001323
include[37]: -0000000896
in this way
+0000000005
+0000000020
-0000000430
+0000000553
+0000001323
-0000000896
i hope i see some help
[http://arbshare.net/files-182969.html]According to the file name ending with extension .tex, I guess that it's TeX, a markup language, not a programming language.
Topicstarter: look for a more suitable forum. Good luck. -
HELP IM 13 YEARS PLD AND I NEED ANYNOE TO HELP PLZ READ THIS POST
I lost all my music from my library and i cant find it anywhere is there a way i can take the songs on my ipod and put thm in my library. plz help!
Li Kid,
I found the following steps to recover a deleted library. Not sure who the author is but it worked for me.
Start with the iPod disconnected from the computer - DON'T CONNECT IPOD YET
- open iTunes
- open iTunes Preferences - this blocks iTunes from seeing an iPod connection; leave the preferences window up and running
- connect the iPod to the computer, wait about 15 seconds before continuing
- open 'My Computer'
- Tools menu, Folder Options, View tab, enable 'show hidden files /folders'
- open iPod icon in My Computer
- open iPod_Control folder
- you should see a folder named Music
- drag this folder to somewhere on your computer hard drive
- after the copy completes, right-click the new Music folder on your hard drive and select 'Properties'
- clear the checkmark next to 'Hidden'
- Close that explorer window
- eject iPod from System tray "Safely Remove Hardware" icon. This icon looks like a small gray rectangle with a green arrow floating above it. It's only there when a removable device (like the iPod in this case) is attached to the computer. Right-click & select 'Safely remove..', then click 'Stop' in the next window, OK in the next window, and then Close to complete the ejection.
- disconnect the iPod from the computer
- go back to iTunes, cancel the preferences window
- File menu \ Add folder to Library \ find that Music folder copied over from the iPod
Your iTunes library should be back in action! But wait - there's more!! -
Need some help in debugging this script
Below is DDL generated by visio forward engineering tool . The example below consists of 2 test tables with one foreign key
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[Table1]') AND type in (N'U'))
DROP TABLE [dbo].[Table1]
GO
CREATE TABLE [dbo].[Table1] (
[test] CHAR(10) NOT NULL
, [test2] CHAR(10) NULL
GO
ALTER TABLE [dbo].[Table1] ADD CONSTRAINT [Table1_PK] PRIMARY KEY CLUSTERED (
[test]
GO
GO
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[Table2]') AND type in (N'U'))
DROP TABLE [dbo].[Table2]
GO
CREATE TABLE [dbo].[Table2] (
[test2] CHAR(10) NOT NULL
GO
ALTER TABLE [dbo].[Table2] ADD CONSTRAINT [Table2_PK] PRIMARY KEY CLUSTERED (
[test2]
GO
GO
ALTER TABLE [dbo].[Table1] WITH CHECK ADD CONSTRAINT [Table2_Table1_FK1] FOREIGN KEY (
[test2]
REFERENCES [dbo].[Table2] (
[test2]
GO
GO
When i converted this using scratch editor the migration tool gave some errors can anyone help me to resolve below
DECLARE
v_temp NUMBER(1, 0) := 0;
BEGIN
BEGIN
SELECT 1 INTO v_temp
FROM DUAL
WHERE EXISTS ( SELECT *
FROM objects
WHERE OBJECT_ID_ = NULL/*TODO:OBJECT_ID(N'[OPS].[Table1]')*/
AND TYPE IN ( N'U' )
EXCEPTION
WHEN OTHERS THEN
NULL;
END;
IF v_temp = 1 THEN
TRUNCATE TABLE Table1;
END IF;
END;
CREATE TABLE Table1
test CHAR(10) NOT NULL,
test2 CHAR(10)
ALTER TABLE Table1
ADD
CONSTRAINT Table1_PK PRIMARY KEY( test );
--SQLDEV:Following Line Not Recognized
DECLARE
v_temp NUMBER(1, 0) := 0;
BEGIN
BEGIN
SELECT 1 INTO v_temp
FROM DUAL
WHERE EXISTS ( SELECT *
FROM objects
WHERE OBJECT_ID_ = NULL/*TODO:OBJECT_ID(N'[OPS].[Table2]')*/
AND TYPE IN ( N'U' )
EXCEPTION
WHEN OTHERS THEN
NULL;
END;
IF v_temp = 1 THEN
TRUNCATE TABLE Table2;
END IF;
END;
CREATE TABLE Table2
test2 CHAR(10) NOT NULL
ALTER TABLE Table2
ADD
CONSTRAINT Table2_PK PRIMARY KEY( test2 );
--SQLDEV:Following Line Not Recognized
ALTER TABLE Table1
ADD
CONSTRAINT Table2_Table1_FK1 FOREIGN KEY( test2 ) REFERENCES Table2 (test2)
--SQLDEV:Following Line Not Recognized
;Welcome to the forum!
Whenever you post you need to provide your 4 digit Oracle version (result of SELECT * FROM V$VERSION).
>
Below is DDL generated by visio forward engineering tool . The example below consists of 2 test tables with one foreign key
When i converted this using scratch editor the migration tool gave some errors can anyone help me to resolve below
>
Not familiar with either of those tools but they appear to be producing such garbage as to not be useful at all. You may want to try using sql developer and the data modeler module.
The reason I say that is that this code (notice that since I put \ on the line before and after the code it preserved the formatting)DECLARE
v_temp NUMBER(1, 0) := 0;
BEGIN
BEGIN
SELECT 1 INTO v_temp
FROM DUAL
WHERE EXISTS ( SELECT *
FROM objects
WHERE OBJECT_ID_ = NULL/*TODO:OBJECT_ID(N'[OPS].[Table1]')*/
AND TYPE IN ( N'U' )
EXCEPTION
WHEN OTHERS THEN
NULL;
END;
IF v_temp = 1 THEN
TRUNCATE TABLE Table1;
END IF;
END;
CREATE TABLE Table1
test CHAR(10) NOT NULL,
test2 CHAR(10)
This code appears to check if table1 exists. Then if the table exists it TRUNCATEs it. But then it attempts to CREATE the table.
Well - you can't have it both ways. If the table exists you can't create it.
If this code is typical of what your tools are producing you need to either use another tool (e.g. sql developer) or do the conversion manually.
You can download sql developer here
http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html -
Hello everyone!
I am trying to make a dvd menu that has 4 buttons. I want to hover over a button and have the rollover state underline the text of the button and also have a picture pop up in a certain location.
The underline is easy, but the image is giving me trouble. There would be a total of 4 images that pop up when you roll over the 4 buttons.
Does this make sense????
Is this possible???
Thanks in advance....!
-MarkMark,
Unfortunately, things are not as easy on DVD's, as they are in Flash, or HTML.
To do what you want, with some possible limitations, you will need to create a Duplicate Menu, for each of your Buttons. Set the Button on the "original" Menu to Auto Activate, which will trigger, when the user navigates to it on a set-top player.* The Duplicate Menu will be the same, but with the image and the underline. The Buton on the Duplicate Menu will Link to the actual Asset, Timeline, etc. This can be a lot of work, but doable. Also, do plan on writing out a flowchart on paper, to keep from getting confused.
I thought that an article on this was in the Encore FAQ, but it appears to not have made the forum changeover. I'm sure I left something out, but will search for the article with full details on how to do this.
Good luck,
Hunt
* if the DVD is played on a computer, the user will not get the Auto Activate, and will need to press the Button twice to get to the movie. -
i need to record some audio from a website, so how can i do this?.. on PC i use sound forge in which it allows me to record anything thats playing on my computer, so now i need to do the same but on a mac.. i have a powermac g5 quad with soundtrack pro. is theres any other programs that let me do this?
look on versiontracker.com for Soundflower or Wiretrap. Both apps allow you to record anything from any audio surce on your mac..
jon -
Can some one help me by ring me from itunes please
This is a User to User Forum...
You need to Contact iTunes Customer Service
Apple Support iTunes Store Contact Us -
I need some help plz some one replay me
i wont to write a query to have result like this table from emp table
length_for length_fif length_sex
KING BLAKE MARTIN
WARD CLARK TURNER
FORD JONES MILLER
ALLEN
JAMES
SMITH
SCOTT
ADAMS
this is what i can do
but it's not work
select decode(length(ename),4,ename) for_lnth,
decode(length(ename),5,ename) fif_lnth,
decode(length(ename),6,ename) sex_lnth
from emp;
FOR_LNTH FIF_LNTH SEX_LNTH
KING
BLAKE
CLARK
JONES
MARTIN
ALLEN
TURNER
JAMES
WARD
FORD
SMITH
SCOTT
ADAMS
MILLER
there's many field Null and i don't wont to write the number of letter like 4,5,6 in the query
i wont the query find out how many letter are there in the name
and aaaaaaaaaaaaa
i'm waiting.....Hi,
Welcome to the forum!
This site replaces multiple whitespace with a single space by default, so things that are nicely formatted when you post them look terrible after you post them.
Type these 6 characters
{code}
(small letters only, inside curly brackets) before and after formatted text, to preserve spacing.
Re-arranging your one-column output into three columns is called pivoting.
Here's one way to do it:
WITH got_rnum
AS
SELECT ename
, LENGTH (ename) AS len
, ROW_NUMBER () OVER ( PARTITION BY LENGTH (ename)
ORDER BY ename -- optional
) AS rnum
FROM scott.emp
SELECT MAX (CASE WHEN len = 4 THEN ename END) AS length_4
, MAX (CASE WHEN len = 5 THEN ename END) AS length_5
, MAX (CASE WHEN len = 6 THEN ename END) AS length_6
FROM got_rnum
GROUP BY rnum
ORDER BY rnum;The only place where I had to know what the lengths were was when I wrote three lines for the SELECT clause (for lengths 4, 5, and 6).
If you the query to do this, then you have to use dynamic SQL, to figure out how many different lengts there are, and what they are, and to write an appropriate SELECT clause for you.
As dynamic SQL gioes, this is pretty easy. You can do it in SQL*Plus or PL/SQL. -
Need some help in ARCHITECTURE level for upgrading SAP BW 3.5 to SAP BI 7.0
HI all,
I am a consultant in a small company, i am curently handling upgradation project i need some help in ARCHITECTURING this complete project, please share me your knowledge, like process flows what information i need to get from clients before starting the project, what is pre upgradation checks, post upgradation cheks ...............
Thanks in advance.............Hi,
You need to confirm the downtime during the upgrade activity.
Check for Space and resource allocation.
http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8d1a0a3a-0b01-0010-eb82-99c4584c6db3
https://wiki.sdn.sap.com/wiki/display/BI/UpgradefromBW3.XtoBI7.0+%28SP13%29
https://wiki.sdn.sap.com/wiki/display/BI/Migrationof3.xobjectstoBI7.0
You need to make sure some OSS notes should be applied, check the below link for the same:
https://wiki.sdn.sap.com/wiki/display/BI/UpgradetoNetWeaverBI7.0%28SAPNotes+%29
http://wiki.sdn.sap.com/wiki/display/BI/BIUpgradation-HelpfulOSSnotesfromEDWperspective
Hope this helps...
Rgs,
Ravikanth. -
Need some help, system won't boot now.
Yesterday, I was having trouble getting WinXP installed on my SATA drive...after I tried some stuff to no avail, I decided to call it a night. When I got up, I went to boot up the system and now all that happens is the 1 LED light flashes and the CD-ROM LED light flashes(and even these don't happen all the time). Nothing else happens, fans don't start etc. So I need some help on troubleshooting this prob. When I do start it up, the D-bracket LEDs flash 4 red also, just flash like the other LED lights. My first guess would be that the PSU is dead? My PSU is a Antec Truepower 380W. Any help is much appreciated.
Believe Bas; As he is 100% Correct, as even 18 Amps is not anywhere enough on the +12V Rail nowadays, I mean I think the New "Minimum" Should be No Less than 25 Amps on the +12V Rail, With these new Powerful Vidio Cards, that Require thier own "Molex" Power Supply Connected to them (As most of these Top Nvidia FX, and ATI Pro's) Need and they can demand up to 6 Amps themselves, I mean, these Cards Have 400 and 550MHZ GPU's on them with over 100 Million Transistors, Not to mention the Extra 256MB of High Speed Graphics memory, Add this with a New 64BIT CPU, and a Sound Card, and a Couple of S-ATA's in RAID, And the 1GIG of High Speed System RAM, and you Are At or Over 18 Amps Already , And we are not even talking CD and DVD's or the At least 4 Fans that you should have ...Yep I for one say the Day's of the 18 Amp Min. Rating for the +12V Rail are Gone Forever...Why do you think that all the Really Good PSu's have At Least 30 Amp Ratings on thier +12V Rails......And in the Case of Enermax, They even went as Far to Start Building thier PSU's With 2 (Dual) +12V Rails ...Thats right, Now they have a +12V-1, and a +12V-2 , Now the CPU gets it's OWN Dedicated +12V Rail, and the System Gets the +12V-2 Rail.......I just got the new Enermax for my 3RD Rig that I'm Building (Dual Opteron 248) Rig , with Bas's Help of Coarse.....But For $99.00 US It was the Best Money spent yet, so much, for a little Price, as the Antec Units are More expensive...And I hear that they are doing a little Cheating on thier Amp Ratings these Days ..Ask "Wonk" he will tell you... ..............Sean REILLY875
-
this website make problem for me, he open by it self everytime i try to open another websites
Please i need some help
http://yandex.ru/yandsearch?text=ццц&lr=1004Dude, I don't think there's a user on this forum that would click on that link.
Maybe you are looking for
-
PI 7.11 - SXI_CACHE Issue - SQL0904 - Resource limit exceeded
Hi IBM I Gurus, We are having the SXI_CACHE issue in our PI 7.11 SPS04 system. When we try to do the delta cache refresh through SXI_CACHE, it is returning the error SQL 0904 - Resource limit exceeded. When we try to do the full cache refresh, it is
-
Moving my itunes library to a removable hard drive.
I have moved my itunes library to a removable hard drive. Every time I try to trash my old itunes file and access the removable HD, I cant find it from iTunes. the only thing I can get it to do is to reload (duplicate) the entire 30gb library on th
-
Hi Members, I want a Query report showing items Consumption From A to Z for a proposed Forecast, that mean when i plane Finish items like this in MRP forecast, for a one month Item - Qty For September A - 20 B - 10 A,B are Finish items which having B
-
Audio not in Sync with Video in FCP
Hi People, i'm new to this, hoping to find some support. I have Final Cut Studio 2, im doing an Apple Pro Training series book - 'Final Cut Pro-Beyond the Basics' and im having a problem of the audio not syncing with the video. If i simply play the s
-
Openscript : browser is not opening for playback
Hello, I installed openscript9. I was working nicely. Then I installed OATS. now that I want to continue using openscript, it does not want to open browser to playback ! I get following error message : Error happened when createing a new server socke