freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Bill Thompson" <thompbil AT exchange.uk.ml.com>
- To: freetds AT franklin.oit.unc.edu
- Subject: RE: Output parameters (was: Strange things)
- Date: Mon, 18 Nov 2002 18:15:21 -0500
Hi all,
I have an explanation for the "output parameters" issue.
In TDS 4.2, there was no direct method or protocol for submitting remote
procedure calls to the server. the only way to do it was via an "exec"
statement sent as an ordinary piece of SQL. In TDS 4.2, if a stored
procedure call with output parameters was submitted in this way, then a
token stream was returned, indicating the vales of the output parameters.
In TDS 7.0, Microsoft introduced a message type for directly submitting
remote procedure calls to the server. If this is used, then the token
stream will be returned.
However, up until SQL server 7 service pack 3, SQL server continued to
send back the "return value" token streams under the old conditions. In
7.0 SP3 MS put this behaviour under a TDS version check - old drivers got
the returnvalue, new ones did not.
The upshot of this is that we'll have to implement the RPC message stream,
if we want to capture return parameters from stored procedures in TDS 7 or
8.
I can help with the specifics of the TDS 7 RPC message protocol if anyone
wants to get stuck in.
Bill
-
RE: Output parameters (was: Strange things)
, (continued)
- RE: Output parameters (was: Strange things), Lowden, James K, 11/15/2002
- RE: Output parameters (was: Strange things), James K. Lowden, 11/16/2002
- RE: Output parameters (was: Strange things), Frediano Ziglio, 11/16/2002
- RE: Output parameters (was: Strange things), James K. Lowden, 11/16/2002
- RE: Output parameters (was: Strange things), Bob Kline, 11/16/2002
- RE: Output parameters (was: Strange things), James K. Lowden, 11/16/2002
- RE: Output parameters (was: Strange things), Frediano Ziglio, 11/16/2002
- RE: Output parameters (was: Strange things), James K. Lowden, 11/16/2002
- RE: Output parameters (was: Strange things), James K. Lowden, 11/16/2002
- RE: Output parameters (was: Strange things), Bob Kline, 11/18/2002
- RE: Output parameters (was: Strange things), Bill Thompson, 11/18/2002
- RE: Output parameters (was: Strange things), Brian Bruns, 11/18/2002
- RE: Output parameters (was: Strange things), Tankleff, Bruce, 11/19/2002
- RE: Output parameters (was: Strange things), Lowden, James K, 11/19/2002
- RE: Output parameters (was: Strange things), ZIGLIO Frediano, 11/20/2002
- RE: Output parameters (was: Strange things), Thompson, Bill D (London), 11/20/2002
- RE: Output parameters (was: Strange things), Castellano, Nicholas, 11/20/2002
- RE: Output parameters (was: Strange things), Lowden, James K, 11/20/2002
- RE: Output parameters (was: Strange things), Bob Kline, 11/20/2002
- RE: Output parameters (was: Strange things), Brian Bruns, 11/20/2002
- RE: Output parameters (was: Strange things), James K. Lowden, 11/20/2002
Archive powered by MHonArc 2.6.24.