PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: "John Portis" <jportis at fnx dot com>
Subject: Using files to load database objects
Date: Jul 12 1999 9:42PM

I am trying to read a file that already has the sql for loading a database
object (e.g. loads numerous triggers).  I've tried to join the file in a
variable and then execute.  I've also tried to keep calling
dbh->dbcmd("$_") and at the end of the file call dbh->dbsqlexec. I don't
know how to get the whole script into the one dbcmd.

John