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: Java G <guy at vi dot net>
Subject: ct_execute vs ct_sql
Date: Sep 23 1997 1:06PM

Hi,

What is the easiest way to check that a query went through ok if I'm
only using the ct_sql() method in CTlib? or would using ct_callback()
be appropriate? The idea is to encapsulate all database access in
a lubrary, but we must have a robust exception handling technique.

The problem is that ct_execute() is asynchronous, and I need to know
that things were ok before proceeding with the next operation...

or is there a way to make ct_execute block until the query
completes?

thanks,

Guy