sybperl-l Archive
Up Prev Next
From: Michael Peppler <mpeppler at MBAY dot NET>
Subject: very basic db connection question
Date: Feb 9 1999 9:48PM
>>>>> "Sheree" == Sheree Hemphill writes:
Sheree> Hello. I am new to Sybperl, and I would like to use CTlib to
Sheree> connect to a database. I can only seem to find code examples
Sheree> which connect to the Master database, but none which show how
Sheree> to connect to a user-defined database. Can someone give me an
Sheree> example of the syntax for this?
$dbh->ct_sql("use $database");
Michael
--
Michael Peppler -||- Data Migrations Inc.
mpeppler@mbay.net -||- http://www.mbay.net/~mpeppler
Int. Sybase User Group -||- http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com
|