PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: sksharma <sksharma at inflibnet dot ernet dot in>
Subject: how can i open my database ?
Date: Jul 4 1999 9:40AM

Hi.
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");
$dbh->ct_command("sp_help");
$dbh->ct_send;
it given errors;
Message Number : LAYER =(1) ORIGIN =(1) SEVERITY =(1) NUMBER = (16)
Message string :ct_cmd_drop() :user api layer :external error : this routine
cannot be called while results are pending for a command that has been send to
the server.
query : there is nay function in ctlib like dhuse() as in dblib.
Thanks

 --
*********************************************************			
	Name   :Surender Kumar Sharma
	Desgn. :Scientist
	Org.   :Information and Library Network Centre
	Loc    : Near Gujrat University guest house,
        	 Navrangpura,Ahmedabad (India)
	Ph.    : 6301972,6305971
	URL    : www.inflibnet.ernet.in
	E-mail :sksharma@inflibnet.ernet.in
********************************************************