RE: 2005 JDBC Driver against 2000 Server can't "UPDATE STATISTICS tabl



Can you post your code?

--------------------
Thread-Topic: 2005 JDBC Driver against 2000 Server can't "UPDATE STATISTICS tabl
thread-index: AcZShHK57pBZevu/ShKVbO3EowF0/Q==
From: =?Utf-8?B?S2lt?= <Kim@xxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: 2005 JDBC Driver against 2000 Server can't "UPDATE STATISTICS tabl
Date: Tue, 28 Mar 2006 08:27:04 -0800
Message-ID: <EF10655E-648B-47A0-992F-5D8FCB0344BD@xxxxxxxxxxxxx>

Using the latest 2005 sqlserver jdbc driver against a 2000 SQL Server, I can
no longer execute this statement: UPDATE STATISTICS KimsTable; I get the
error message: com.microsoft.sqlserver.jdbc.SQLServerException:
UPDATE STATISTICS statement not allowed within multi-statement transaction.
Do I need to set something on my SQLServer 2000 server, in order to execute
statements like this? (This worked with the previous JDBC Driver)



--

This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this message are best directed to the newsgroup/thread from which they originated.

.



Relevant Pages

  • error code [-7402]; rowcast(): create_castfuncstate: arg corrupted cast list
    ... my server is IBM Informix Dynamic Server Version 9.40.UC6 ... JDBC Driver: 3.00.JC3 ... I use Rich Client Platform and connect to database server over JBoss ... create_castfuncstate: arg corrupted cast list ...
    (comp.databases.informix)
  • Re: Possible Type Conversion Defect
    ... I'm developing a large application using SAP Web Application Server ... with JDBC Driver Beta 2 for SQL Server 2005 and I'm getting the SAME ... There's any solution or I must change my strategy to don't choice SQL ... a JDBC driver attempts to convert the underlying data to the Java ...
    (microsoft.public.sqlserver.jdbcdriver)
  • Re: Update Statistics and poor performance
    ... Is it possible that most sql's run efficiently during update stats ... 9.30UC2 is the last version released before the update statistics code was rewritten in 9.30xC3. ... For your server version you can enable this updated algorithm in dostats by adding the -o flag which inverts the server version detection logic. ... particularly odd looking query. ...
    (comp.databases.informix)
  • Re: Possible Type Conversion Defect
    ... Thank you for your feedback, we have received OVERWHELMING feedback on our ... "purist" coercion story and have reconsidered this feature for the final ... > with JDBC Driver Beta 2 for SQL Server 2005 and I'm getting the SAME ...
    (microsoft.public.sqlserver.jdbcdriver)
  • Re: What makes SQL server to use index ?
    ... thank you all for hints. ... For now I just think that SQL server have different ... > try running UPDATE STATISTICS just to make sure. ... >> Krzysztof Krawczyk ...
    (microsoft.public.sqlserver.programming)