freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
RE: [freetds] tds_submit_query allways returns TDS_SUCCEED
- From: "ZIGLIO Frediano" <Frediano.Ziglio AT vodafone.com>
- To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
- Subject: RE: [freetds] tds_submit_query allways returns TDS_SUCCEED
- Date: Mon, 20 Oct 2003 11:27:16 +0200
>
> Hi
>
> I am new to freeTDS (which is a really great package by the
> way!!!) I have
> just put together a simple test program using some of the
> stuff from the
> unittests catalog. It seems that I allways get TDS_SUCCEED
> back from the
> tds_submit_query. I am guessing I must be doing something
> wrong since it
> seems freeTDS is so well tested. I have a database with a
> table="test" that
> I am testing with. If I change the INSERT to "INSERT INTO
> crap VALUES
> ('%s')" then I still get TDS_SUCCEED,,,,and I dont have a
> table named crap
> ;)
>
> Thanks
> James
>
> P.S. I am running on a Solaris system and my database is a MS SQL 7.0
> database.
>
It's absolutely normal. tds_submit_query just send query to database and
return failure only for communication problems. After calling
tds_submit_query you should read results. In results you will see an
error message and an error done.
freddy77
-
[freetds] tds_submit_query allways returns TDS_SUCCEED,
James Reed, 10/20/2003
- <Possible follow-up(s)>
- RE: [freetds] tds_submit_query allways returns TDS_SUCCEED, ZIGLIO Frediano, 10/20/2003
- RE: [freetds] tds_submit_query allways returns TDS_SUCCEED, James Reed, 10/20/2003
- RE: [freetds] tds_submit_query allways returns TDS_SUCCEED, ZIGLIO Frediano, 10/20/2003
- RE: [freetds] tds_submit_query allways returns TDS_SUCCEED, Lowden, James K, 10/20/2003
- RE: [freetds] tds_submit_query allways returns TDS_SUCCEED, James Reed, 10/21/2003
Archive powered by MHonArc 2.6.24.