Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-837

Binding a value with the ODBC driver with more than 127 characters will fail with MS SQL Server 7.0

    XMLWordPrintable

Details

    Description

      When connecting to MS SQL server 7.0 database using (QODBC) then calling stored procedures does not work correctly. When doing the following

      QString text;
      text.fill(' ',2000); //QString
      qry.bindValue(2,text);

      the query will fail for any value greater than 127. lastError() returns the following string

      error. Check your network documentation. QODBC3: Unable to execute
      statement.

      This worked in Qt 3.3.

      The problem does not happen with MS SQL Server 2005 .

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            bilking Bill King
            sanonymous Nokia Qt Support (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes