sybperl-l Archive
Up Prev Next
From: Tim Bishop <tbishop at netspace dot org>
Subject: Re: "use" Sybase command with CTlib
Date: May 7 1999 9:26PM
On Fri, 7 May 1999 John_Erjavec@cargill.com wrote:
> $dbh->ct_sql("use $dbname");
>
>> $dbh->dbuse($dbname);
I've wondered how these functions work under the hood. The second dbuse()
style syntax seems preferable, since you might expect that the database
change is made in some binary, faster way than the first, which needs to
parse a string.
Or does the dblib dbuse just end up sending a "use dbname" string to the
db for interpretation?
I guess my real question is what sort of communication does ct/dblib have
with the server that isn't strings of T/SQL?
-Tim
|