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: "Nguyen-Anh D dot Le" <len at discopalace dot com>
Subject: "use" Sybase command with CTlib
Date: May 7 1999 7:09PM

Hello,

I am new to using Sybase::CTlib and am looking for some help.  

When you log in to Sybase normally (say through isql), you can typ:
  use 

to switch between databases on the same server.  I need to do this
because my app shares the same login ID as some other apps that already
exist.  Using Sybperl's DBlib, you can have:
  $dbh->dbuse($dbname);

Is there a way to do this in CTlib?  I wish I could use DBlib (since my
code already works for it), but my client's DBAs are not supporting DBlib.

Thanks in advance!

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Nguyen-Anh D. Le      len@discopalace.com     http://www.discopalace.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=