Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • sql_doing_fts.sql Oracle
  • Oracle 11g RAC on OEL 5 and Vmware 2 Oracle
  • Oracle vs MYSQL Architecture differences (For DBAs) MYSQL
  • My FTP Job Scheduling for www.pvmehta.com PHP/MYSQL/Wordpress
  • Query to Generate aggregate on every 30 mins. Oracle
  • prepfiles.sh for step by step generating pending statistics files Oracle
  • copying/removing directory with all its subdirectory Linux/Unix
  • usnsql.sql Displays information about UNDO segments with sql statements Oracle
  • Useful Solaris Commands on 28-SEP-2005 Linux/Unix
  • Single character replacement in Unix Linux/Unix
  • sid_wise_sql.sql Oracle
  • pvm_metric.sql for gathering report from vmstat tables Oracle
  • configUOCIOTTO.ora Oracle
  • Oracle Data Direct to TAPE Oracle

For Perl DBI installation and testing program

Posted on 08-Jun-2006 By Admin No Comments on For Perl DBI installation and testing program

http://www.cedet.dk/perl/

#!c:perlbinperl

use DBI;

# Following line is necessary of you are using perl to write html in browser.

print “Content-type: text/htmlnn”;

print ““;

print “CGI Test“;

print ““;

print “

Newer Verion of File Management Operations !

“;

my $dbname = “pvmeh”; ## DB Name from tnsnames.ora

my $user = “pvmeh”;

my $passwd = “pvmeh”;

print “$dbname”;

print “
“;

#### Connect to the database and return a database handle

$dbh = DBI->connect(“dbi:Oracle:${dbname}”, $user, $passwd);

if($dbh){

print(“Connected as user $usern”);

} else {

print(“Failed to connect!n”);

exit;

}

print ““;

PHP/MYSQL/Wordpress

Post navigation

Previous Post: catting.sh
Next Post: How to find pinned objects from shared pool. (pinned via dbms_shared_pool.keep)

Related Posts

  • Shuffle an array PHP/MYSQL/Wordpress
  • newupload.html PHP/MYSQL/Wordpress
  • PHP code to add WordPress posts in bulk programmatically PHP/MYSQL/Wordpress
  • upload.html PHP/MYSQL/Wordpress
  • Move WordPress site from one hosting service to other. PHP/MYSQL/Wordpress
  • How to hide author name in WordPress BLOG PHP/MYSQL/Wordpress

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (400)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (348)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql Oracle
  • USE_NL and INDEX hints example Oracle
  • Formatter Explain plan Output 1 Oracle
  • plan10g.sql good1 Oracle
  • Python class import from different folders Python/PySpark
  • How to find where datafile is created dbf_info.sql Oracle
  • More info about /proc folder and its relation with processes. Linux/Unix
  • On solaris 10, “S” link is not part of $ORACLE_HOME/bin/oracle as default. ( For 9.2.0.8) Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme