freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "David Nsengiyumva" <davidn AT finsolutions.co.za>
- To: <freetds AT lists.ibiblio.org>
- Subject: [freetds] ct-lib & stored procedures
- Date: Mon, 24 Nov 2003 09:34:19 +0200
Hi there,
Just wanted to know if there is any way of Querying MS SQL Server for any
property of a stored procedure (something like number, type or name of
parameters) using ct-lib. I see that one can use 'ct_param' function to
supply values for a server command's input parameters or ct_setparams to
specify source variables from which ct_send reads input parameter values for
a server command. But how does one know the data to supply to the CS_DATAFMT
structure??? Say you've got only the stored procedure name, then how does
one know, dynamically, the properties for the CS_DATAFMT structures???
Please help here!!!
David Nsengiyumva
Software Developer
Tel: +27 21 464 7215
Cel: +27 73 351 3975
Fax: +27 21 464 7201
http://www.finsolutions.co.za
CONFIDENTIALITY CAUTION
This page and any accompanying documents contain privileged and confidential
information for the specific individual to whom it is addressed, and are
protected by law. If the reader is not the intended recipient, you are
hereby notified that any review, dissemination, distribution or copying or
the taking of any action based on the contents of this communication is
strictly prohibited. If you have received this communication in error,
please desist from reading the contents, notify us immediately and destroy
the communication.
- [freetds] ct-lib & stored procedures, David Nsengiyumva, 11/24/2003
Archive powered by MHonArc 2.6.24.