Up Prev Next
From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: how can i open my database ?
Date: Jul 5 1999 3:40PM
> i want to open my database serial using ctlibs. there is function in dblib like
> dbuse() but i can't find any function to use database. When i tried to execute
> following commands , it shown some errors.
> $dhb->ct_execute("use serail");
You need to read the sybperl manual, as well as the Sybase OpenCLient
You need to use ct_sql() to execute and fetch all results, whereas
ct_execute is a shorthand for ct_command()/ct_send().
So to "use" a 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