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: "Warren Pollans" <wpollans at verio dot net>
Subject: trying to execute "sp_columns"
Date: Feb 28 2001 7:11PM

Hello,

I would like to execute "sp_columns tablename" for some table.  I've tried
to do it the same way I execute a "select ..." query, but it doesn't work.

	I can connect to the DB OK.

	$dbh->dbcmd($q); is OK

	$dbh->dbsqlexec; is OK

but

	$dbh->dbresults; FAILS

What's the correct way to do this?


I'm trying to write a web-based utility (cgi) that will take a tablename as
an argument and return assorted information about the table.

Feel free to point me somewhere else.

Thanks,

Warren