Help for this page

Select Code to Download


  1. or download this
    TYPE myTable IS TABLE OF DeptTable%rowtype INDEX BY BINARY_INTEGER;
    
  2. or download this
    CREATE OR REPLACE PACKAGE foo AS
    
    ...
        END getDept;
    
    END foo;
    
  3. or download this
    my $dbh =DBI->connect('dbi:Oracle:host=hostname;sid=theSID',
            'user',
    ...
    }
    
    $dbh->disconnect;
    
  4. or download this
    CREATE OR REPLACE PACKAGE foo AS
    
    ...
        END getAllDept;
    
    END foo;
    
  5. or download this
    use Data::Dumper;
    
    ...
    }
    
    $dbh->disconnect;
    
  6. or download this
    Execution of stored procedure failed because:
    ORA-06550: line 3, column 4:
    PLS-00306: wrong number or types of arguments in call to 'GETALLDEPT'
    ORA-06550: line 3, column 4:
    PL/SQL: Statement ignored (DBD: oexec error)