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: sy50027 at milton dot sbi dot com (Simon Yaminian)
Subject: Use of variables in batch files
Date: Aug 14 1998 1:35PM

Hello,

   Is there anything special you need to consider in using variables (e.g. @var)
in the batch files. When I use variables in the batch of commands similar to the
following, I get no results.

declare @count smallint
select @count = 1
results:
select * from table
select @count = @count + 1
while @count <= 5
  goto results

Any ideas why?

Thanks
Simon Yaminian