|
|
sybperl-l Archive
Up Prev Next
From: John_Erjavec at cargill dot com
Subject: Re: "use" Sybase command with CTlib
Date: May 7 1999 7:34PM
$dbh->ct_sql("use $dbname");
This works well for me. YMMV.
-JEV
John Erjavec V
Cargill, Inc.
______________________________ Reply Separator _________________________________
Subject: "use" Sybase command with CTlib
Author: len (len@discopalace.com) at mtka-unix-mime
Date: 5/7/99 2:09 PM
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|