Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Read CSV File using Python Python/PySpark
  • eplan9i.sql Oracle
  • More info about /proc folder and its relation with processes. Linux/Unix
  • Running select from V$ views from remote server Linux/Unix
  • Jai Shree Ram Linux/Unix
  • Create type and Grant on it. Oracle
  • How to find pinned objects from shared pool. (pinned via dbms_shared_pool.keep) Oracle
  • Physical Standby switchover with session active Oracle
  • load SPM baseline from cursor cache Oracle
  • Generate SSH without password authentication. Linux/Unix
  • USER_TABLES.Freelists Oracle
  • SYSOPER Mystery Oracle
  • How to know current SID Oracle
  • Standby Database File Management in 10g with STANDBY_FILE_MANAGEMENT Oracle
  • Proc code 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

  • My FTP Job Scheduling for www.pvmehta.com PHP/MYSQL/Wordpress
  • newupload.html PHP/MYSQL/Wordpress
  • How to hide author name in WordPress BLOG PHP/MYSQL/Wordpress
  • PHP code to add WordPress posts in bulk programmatically PHP/MYSQL/Wordpress
  • Shuffle an array PHP/MYSQL/Wordpress
  • Jai Shree Ram PHP/MYSQL/Wordpress

Leave a Reply Cancel reply

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

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Create type and Grant on it. Oracle
  • Korn Shell Arithmatic Linux/Unix
  • For Search and replace unix command. Linux/Unix
  • 276434.1 Modifying the VIP or VIP Hostname of a 10g or 11g Oracle Clusterware Node Oracle
  • EXTPROC Oracle
  • On solaris 10, “S” link is not part of $ORACLE_HOME/bin/oracle as default. ( For 9.2.0.8) Oracle
  • eplan.sql Oracle
  • GSQ.sql Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme