Re: Padding using Type 4 Drivers

From: Prithpal (prithpal.roda_at_talk21.com)
Date: 11/17/04

  • Next message: Prithpal: "Re: Padding using Type 4 Drivers"
    Date: 17 Nov 2004 01:38:32 -0800
    
    

    CarbinoS@online.microsoft.com ("Carb Simien [MSFT]") wrote in message news:<9aT3U$AzEHA.3956@cpmsftngxa10.phx.gbl>...
    > --------------------
    > Hello,
    >
    > It is possible that your SQL Server 7 was using a different ANSI_PADDING
    > value than what you have set in SQL Server 2000.
    >
    > Whenever you make a connection to SQL Server, you can specify the ANSI
    > settings that you require. If you do not specify these explicitly, then
    > your connection will receive a default set of ANSI settings based on the
    > configuration in SQL Server. You can use the Security Audit -> Audit Login
    > event in SQL Profiler to observe the ANSI settings used when your
    > connection is first made. Your Profiler output may look something like
    > this:
    >
    > -- network protocol: TCP/IP
    > set quoted_identifier on
    > set implicit_transactions off
    > set cursor_close_on_commit off
    > set ansi_warnings on
    > set ansi_padding on
    > set ansi_nulls on
    > set concat_null_yields_null on
    > set language us_english
    > set dateformat mdy
    > set datefirst 7
    >
    > These default settings are documented in the SQL Server Books Online under
    > the topic "SET"
    > (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts
    > _set-set_40c4.asp) under the subheading "SQL-92 Settings Statements". You
    > can also run DBCC USEROPTIONS from within your connection to see this
    > information.
    >
    > Are you using the Microsoft JDBC driver or a third-party driver?.
    >
    > Carb Simien, MCSE MCDBA MCAD
    > Microsoft Developer Support - Web Data
    >
    > Please reply only to the newsgroups.
    > This posting is provided "AS IS" with no warranties, and confers no rights.
    >
    > Are you secure? For information about the Strategic Technology Protection
    > Program and to order your FREE Security Tool Kit, please visit
    > http://www.microsoft.com/security.

    Thanks very much for the information.

    We are indeed using a third-party driver as we are not aware of a
    Microsoft Type 4 driver which will connect to sql server 7.

    We have performed the tests using a weblogic driver and jtds, both
    having the same results. The DBA insist that the sql server 7 and sql
    server 2000 are configured the same...... but I have my doubts!.


  • Next message: Prithpal: "Re: Padding using Type 4 Drivers"

    Relevant Pages

    • Driver corrupts prepared statements in pool.
      ... This test case demonstrates a bug in the Microsoft SQL Server 2005 JDBC ... cause an exception the next time it is used. ... Microsoft SQL Server 2005 JDBC driver 1.0.809.102 ... // A connection will NOT work properly until it has been ...
      (microsoft.public.sqlserver.jdbcdriver)
    • Re: Connection getMetaData() does not throw SQL Exception
      ... The reason the getMetaDatacall doesn't fail is because all the ... the driver object. ... We support MySQL, Oracle, and SQL Server. ... The java code does not use connection pooling. ...
      (microsoft.public.sqlserver.jdbcdriver)
    • RE: Padding using Type 4 Drivers
      ... | Does anybody know what configuration a SQL Server DB has which effects ... Whenever you make a connection to SQL Server, ... your connection will receive a default set of ANSI settings based on the ... Are you using the Microsoft JDBC driver or a third-party driver?. ...
      (microsoft.public.sqlserver.jdbcdriver)
    • RE: [dbi] Re: MsSQL DBD::ODBC IsNull and undef
      ... I'd guess this is because the SQL Server ODBC driver is looking at your ... Martin J. Evans ... can you run your test script again but creating an OOB log file ...
      (perl.dbi.users)
    • RE: Snapshot isolation with pooled connections
      ... This test case demonstrates a bug in the Microsoft SQL Server 2005 JDBC ... the driver does not initialize connections properly. ... time a connection is borrowed from the pool, ... When a snapshot transaction conflict occurs, ...
      (microsoft.public.sqlserver.jdbcdriver)

    Loading