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: Jeffrey Yu <jjyu at ml dot com>
Subject: Re: any way to get the # of columns returned
Date: Nov 5 1997 10:18PM

Speaking number of columns returned, can we do this:

select * from table where 1 > 2

Then you just count how many fields you get .... 
I do this all the time in C/Sybase.  I think it should
work the same with sybperl.


--Jeff