freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Thompson, Bill D (London)" <bill.d.thompson AT baml.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: [freetds] An *old* issue I need some help with
- Date: Tue, 05 Oct 2010 14:57:01 +0100
Hi All,
I've got a problem with some results processing - it looks kind of
familar, but I can't remember if we understand it, or have ever done
anything about it...
I'm executing a statement, which is "exec stored_procedure...."
The stored procedure is quite complex, but *should* have no result set.
My subsequent dblibrary calls to handle the results are tailored to that
expectation.
In *some* cases (I cant figure out why, but it might be something to do
with the "duplicate key was ignored..."),
a phantom result set appears in the resulting TDS packet, viz:
Received packet @ 2010-10-04 12:48:57.438419
0000 ab 88 00 14 0e 00 00 00-00 1a 00 44 00 75 00 70 |........ ...D.u.p|
0010 00 6c 00 69 00 63 00 61-00 74 00 65 00 20 00 6b |.l.i.c.a .t.e. .k|
0020 00 65 00 79 00 20 00 77-00 61 00 73 00 20 00 69 |.e.y. .w .a.s. .i|
0030 00 67 00 6e 00 6f 00 72-00 65 00 64 00 2e 00 12 |.g.n.o.r .e.d....|
0040 45 00 4c 00 4f 00 4e 00-4d 00 53 00 51 00 45 00 |E.L.O.N. M.S.Q.E.|
0050 42 00 52 00 51 00 31 00-5c 00 53 00 51 00 4c 00 |B.R.Q.1. \.S.Q.L.|
0060 31 00 30 00 12 74 00 77-00 5f 00 62 00 61 00 72 |1.0..t.w ._.b.a.r|
0070 00 5f 00 66 00 62 00 69-00 6c 00 5f 00 69 00 6e |._.f.b.i .l._.i.n|
0080 00 73 00 65 00 72 00 74-00 19 00 81 01 00 00 00 |.s.e.r.t ........|
0090 21 00 6d 08 00 ff 01 00-c1 00 00 00 00 00 ab 66 |!.m..... .......f|
00a0 00 51 c3 00 00 01 00 10-00 50 00 52 00 4f 00 43 |.Q...... .P.R.O.C|
00b0 00 45 00 53 00 53 00 20-00 43 00 4f 00 4d 00 50 |.E.S.S. .C.O.M.P|
00c0 00 4c 00 45 00 54 00 45-00 12 45 00 4c 00 4f 00 |.L.E.T.E ..E.L.O.|
00d0 4e 00 4d 00 53 00 51 00-45 00 42 00 52 00 51 00 |N.M.S.Q. E.B.R.Q.|
00e0 31 00 5c 00 53 00 51 00-4c 00 31 00 30 00 0b 74 |1.\.S.Q. L.1.0..t|
00f0 00 77 00 5f 00 62 00 61-00 72 00 5f 00 66 00 62 |.w._.b.a .r._.f.b|
0100 00 69 00 6c 00 60 00 79-00 00 00 00 fe 00 00 e0 |.i.l.`.y ........|
0110 00 00 00 00 00 - |.....|
The result set describes a one column result set, with no column name.
followed by a DONEINPROC token (which shouldn't be here as the stored
proc has SET NOCOUNT ON....)
This badly skews my program.
I have a *vague* recollection of dealing with this before, but it's too
long ago now...
can anyone remember this ?
Bill Thompson
GMO Technology
Bank of America Merrill Lynch
5 Canada Square
London E14 5AQ
Phone: +44 (0)207 995 8307
Email: bill.d.thompson AT baml.com
----------------------------------------------------------------------
This message w/attachments (message) is intended solely for the use of the
intended recipient(s) and may contain information that is privileged,
confidential or proprietary. If you are not an intended recipient, please
notify the sender, and then please delete and destroy all copies and
attachments, and be advised that any review or dissemination of, or the
taking of any action in reliance on, the information contained in or attached
to this message is prohibited.
Unless specifically indicated, this message is not an offer to sell or a
solicitation of any investment products or other financial product or
service, an official confirmation of any transaction, or an official
statement of Sender. Subject to applicable law, Sender may intercept,
monitor, review and retain e-communications (EC) traveling through its
networks/systems and may produce any such EC to regulators, law enforcement,
in litigation and as required by law.
The laws of the country of each sender/recipient may impact the handling of
EC, and EC may be archived, supervised and produced in countries other than
the country in which you are located. This message cannot be guaranteed to be
secure or free of errors or viruses.
References to "Sender" are references to any subsidiary of Bank of America
Corporation. Securities and Insurance Products: * Are Not FDIC Insured * Are
Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a
Condition to Any Banking Service or Activity * Are Not Insured by Any Federal
Government Agency. Attachments that are part of this EC may have additional
important disclosures and disclaimers, which you should read. This message is
subject to terms available at the following link:
http://www.bankofamerica.com/emaildisclaimer. By messaging with Sender you
consent to the foregoing.
-
[freetds] An *old* issue I need some help with,
Thompson, Bill D (London), 10/05/2010
-
Re: [freetds] An *old* issue I need some help with,
jklowden, 10/05/2010
-
Re: [freetds] An *old* issue I need some help with,
Thompson, Bill D (London), 10/05/2010
-
Re: [freetds] An *old* issue I need some help with,
jklowden, 10/05/2010
-
Re: [freetds] An *old* issue I need some help with,
Thompson, Bill D (London), 10/11/2010
- Re: [freetds] An *old* issue I need some help with, James K. Lowden, 10/13/2010
-
Re: [freetds] An *old* issue I need some help with,
Thompson, Bill D (London), 10/11/2010
-
Re: [freetds] An *old* issue I need some help with,
jklowden, 10/05/2010
-
Re: [freetds] An *old* issue I need some help with,
Thompson, Bill D (London), 10/05/2010
-
Re: [freetds] An *old* issue I need some help with,
jklowden, 10/05/2010
Archive powered by MHonArc 2.6.24.