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: "Ellery, Michael BGI SF" <Michael dot Ellery at barclaysglobal dot com>
Subject: RE: "use" Sybase command with CTlib
Date: May 7 1999 7:44PM

>From the docs, ct_sql():



This routine is very usefull to send SQL commands to the server that do not
return rows, such as: 

         $dbh->ct_sql("use BugTrack");



HTH

Michael Ellery
Barclays Global Investors
45 Fremont St., 6th Floor #102
San Francisco, CA  94105
(415) 908-7234 [PH],  (415) 597-2352 [FAX]
Email:  michael.ellery@barclaysglobal.com

> -----Original Message-----
> From:	Nguyen-Anh D. Le [SMTP:len@discopalace.com]
> Sent:	Friday, May 07, 1999 12:10 PM
> To:	SybPerl Discussion List
> Subject:	"use" Sybase command with CTlib
> 
> 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
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=