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: "Raja Sambamurty" <rajags at hotmail dot com>
Subject: thanks on (RE:any way to get the # of columns returned)
Date: Nov 4 1997 5:00PM

Mike,

thanks for the answer and my oversight with the null returns from sql.

I want to ask you an additional question on $db->sql ($sqlcmd).

Is there any way to get the column headings after executing this command 
? I know $db->dbcolname($colid) works with the dbcmd, dbsqlexec combo; 
is there a trick to get this to work with $db->sql ? (i tried without 
much luck). And I find $db->sql to be very convenient for outputs that 
aren't very large.  thanks again.

Raja

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com