Naruto

Naruto Uzumaki (うずまき ナルト Uzumaki Naruto) is a fictional character from the Naruto universe created by Masashi Kishimoto as the main protagonist for the series and developed into other media. While creating Naruto, Kishimoto kept in mind to keep the character “simple and stupid” while giving him many attributes of Son Goku from the Dragon Ball franchise.

Naruto Uzumaki, is a loud, hyperactive, unpredictable adolescent ninja who constantly searches for recognition and aspires to become a Hokage, the ninja in the village acknowledged as the leader and the strongest of all.

In the story, Naruto is a young ninja from the fictional village of Konoha. His body encases the spirit of the Nine-Tailed Demon Fox that attacked his village around the time of his birth. His primary motivation throughout the series is to become Hokage, or in other words, the village leader of Konoha. During the beginning of the series, Naruto was a simple-minded prankster who wished for acceptance. However, as the series progresses, Naruto develops into a much more mature character, although he still retains some of his childhood traits.

Import or load DBF file to Oracle

I use this package to import data from dbase file – foxpro (dbf) to oracle table,

–this is spec
CREATE OR REPLACE PACKAGE DBF2ORA
AS
— PROCEDURE TO A LOAD A TABLE WITH RECORDS
— FROM A FOXPRO FILE.

— USES A BFILE TO READ BINARY DATA AND DBMS_SQL
— TO DYNAMICALLY INSERT INTO ANY TABLE YOU
— HAVE INSERT ON.

— P_DIR IS THE NAME OF AN ORACLE DIRECTORY OBJECT
— THAT WAS CREATED VIA THE CREATE DIRECTORY
— COMMAND

— P_FILE IS THE NAME OF A FILE IN THAT DIRECTORY
— WILL BE THE NAME OF THE FOXPRO FILE

— P_TNAME IS THE NAME OF THE TABLE TO LOAD FROM

— P_CNAMES IS AN OPTIONAL LIST OF COMMA SEPARATED
— COLUMN NAMES. IF NOT SUPPLIED, THIS PKG
— ASSUMES THE COLUMN NAMES IN THE FOXPRO FILE
— ARE THE SAME AS THE COLUMN NAMES IN THE
— TABLE

— P_SHOW BOOLEAN THAT IF TRUE WILL CAUSE US TO JUST
— PRINT (AND NOT INSERT) WHAT WE FIND IN THE
— FOXPRO FILES (NOT THE DATA, JUST THE INFO
— FROM THE FOXPRO HEADERS….)
PROCEDURE LOAD_TABLE (
P_DIR IN VARCHAR2,
P_FILE IN VARCHAR2,
P_TNAME IN VARCHAR2,
P_CNAMES IN VARCHAR2 DEFAULT NULL,
P_SHOW IN BOOLEAN DEFAULT FALSE
);
END DBF2ORA;
/

Continue reading

Unable to verify the certificate – code will be treated as unsigned.

Jinitiator Security Warning
Unable to verify the certificate – code will be treated as unsigned.

If this error appear,
– check formsweb.cfg,

if it show up with this line,
WebUtilArchive=/forms90/java/frmwebutil.jar, /forms90/java/jacob.jar

then use this following command,
jarsigner.exe -verify -verbose d:\OraFRSHome\forms90\java\jacob.jar
jarsigner.exe -verify -verbose d:\OraFRSHome\forms90\java\frmwebutil.jar

jarsigner.exe is generally located in the \jdk\bin directory
– make sure that you have those file (jacob.jar, frmwebutil.jar)

– included path to default.env

CLASSPATH=…;D:\OraFRSHome\forms90\java\frmwebutil.jar;D:\OraFRSHome\forms90\java\jacob.jar;…

Oracle Report Server could not start

I’m not able to start the report server, then i took the following steps in command line,
“rwserver -install rep_server_name”

But when i start the service i got no error message, the status was Started, but when i refresh it had stopped.
I look the smart agent icon disappears when i move the mouse over it.

I have try to restart computer, but it still could not start.
Then i try to use this command,
“rwserver server=rep_server_name”

It come with messages that report server is starting up and then i click the shutting down button.

I start the report service again, then user can print report again.

Redownload Lost Podcast Episodes (without resubscribe)

If you have accidentally deleted an episode of podcast show and want to download it again,
you can tell iTunes to update the podcast and get the lost episodes back.
You still have to re-download the lost episodes, but at least you didn’t have to re-subscribe to the whole podcast.

First, make sure that the podcast is collapsed (the small grey triangle next to the name of the podcast
is pointing to the right). If it is pointing down, click it to collapse the podcast.
Now, hold the Option key (the Shift key on Windows) and click the triangle again to expand the podcast and tell iTunes to get a list of all the episodes. You should now see the familiar orange circle with white arrows next to the name of the podcast, and iTunes will tell you it is updating this podcast in the message area at the top.

ORA-06553: PLS-382: expression is of wrong type

CREATE OR REPLACE FUNCTION GET_BOOL
RETURN BOOLEAN
IS
BEGIN
RETURN TRUE;
END;

SELECT GET_BOOL() FROM DUAL;

ORA-06552: PL/SQL: Statement ignored
ORA-06553: PLS-382: expression is of wrong type

Cause :
There is BOOLEAN datatype is supported by PL/SQL and NOT supported by SQL
So you cannot use this function in a straight select statement.

However, this function work in another PL/SQL block

DECLARE
VBOOL BOOLEAN;
BEGIN
VBOOL := GET_BOOL();
IF( VBOOL = TRUE ) THEN
DBMS_OUTPUT.PUT_LINE( ‘TRUE’ );
END IF;
END;

So, we can change the function to return number(FALSE = 0, TRUE = 1)

CREATE OR REPLACE FUNCTION GET_BOOL
RETURN NUMBER
IS
BEGIN
IF TRUE THEN
RETURN 1;
ELSE
RETURN 0;
END IF;
END;

Move to another tablespace

1. To move a TABLE TO another TABLESPACE, issue the following command:

ALTER TABLE <table_name> MOVE TABLESPACE <new_tablespace>;

2. To move an INDEX, use the following command:

ALTER INDEX <index_name> REBUILD TABLESPACE <new_tablespace>;

3. To move the LOB when moving the table, use the following:

ALTER TABLE <table_name> MOVE TABLESPACE <new_tablespace> LOB (lob_item) STORE AS (TABLESPACE      <another_new_tablespace>);

4. To move the PARTITION TABLE to another TABLESPACE, use:
ALTER TABLE <table_name> MOVE PARTITION <partition_name> TABLESPACE <new_tablespace>;