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: tlee at lehman dot com (Travis Lee)
Subject: how to do this in perl
Date: Jun 18 1998 4:15PM

hi,

i'm trying to test the existence of data from a table then do something
accordingly.
how can i get the status value from this query in perl?
this is not a stored proc.

if(exists (select * from atable))
	select 0
else
	select 1

any suggestions?

thanks,

Travis