Up Prev Next
From: "Sheree Hemphill" <sah18 at po dot cwru dot edu>
Subject: RE: very basic db connection question
Date: Feb 10 1999 12:51PM
thank you for your help!
> -----Original Message-----
> From: owner-SYBPERL-L@listproc.net
> [mailto:owner-SYBPERL-L@listproc.net]On Behalf Of Michael Peppler
> Sent: Tuesday, February 09, 1999 4:48 PM
> To: SybPerl Discussion List
> Subject: very basic db connection question
> >>>>> "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 Peppler -||- Data Migrations Inc.
> email@example.com -||- http://www.mbay.net/~mpeppler
> Int. Sybase User Group -||- http://www.isug.com
> Sybase on Linux mailing list: firstname.lastname@example.org