Skip to Content.
Sympa Menu

freetds - Re: [freetds] TDS/RPC messages and embedded comments

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Michael Peppler <mpeppler AT peppler.org>
  • To: freetds AT lists.ibiblio.org
  • Subject: Re: [freetds] TDS/RPC messages and embedded comments
  • Date: 07 Jan 2003 12:51:14 -0800

On Tue, 2003-01-07 at 12:41, Jones, James O wrote:
> This is a low-level TDS protocol question, specifically related to the
> construction of RPC messages (TDS packetType=0x03).
>
> I hope to embed a text comment somewhere in a TDS/RPC message buffer. I need
> this comment to ultimately be captured in SQL Server log file.
>
> If RPC message buffers don't explicitly support comments, I would welcome
> any creative suggestions for how to accomplish this. I am working with TDS
> 7.0 and SQL Server 2000. I have studied TDS protocol documentation on the
> FreeTDS site and also source module query.c that constructs RPC messages.

I don't see how you could embed a comment in an RPC call - there's no
SQL source to add comments to...

I'd instead add an additional parameter to the RPC call...

Michael
--
Michael Peppler Data Migrations, Inc.
mpeppler AT peppler.org http://www.mbay.net/~mpeppler
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or
long term contract positions - http://www.mbay.net/~mpeppler/resume.html




Archive powered by MHonArc 2.6.24.

Top of Page