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: Hrvoje Niksic <hniksic at iskon dot hr>
Subject: Arguments to SQL statements in Ctlib
Date: Nov 15 1999 1:48PM

Is it possible to send SQL statements with arguments.  I'd like to
write something like:

    @results = ct_sql("SELECT foo FROM bar WHERE id=?", $needed_it);

The ? syntax is borrowed from Perl DBI and is not required, but it
should make my meaning clear.