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: Fred Cathey <fcathey at advtech dot uswest dot com>
Subject: Accessing data from a query
Date: Aug 31 1999 8:38PM

I do a ct_sql query that gets one value.  I have to do a foreach loop to
assign it to a variable.  I've tried several different variations on how
it was done under DBlib but can't get it to work with CTlib.  How can I
assign the single value returned from a database query to a variable
without the foreach loop using CTlib?