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

Error inserting value in field varchar(1) with prepared query with ODBC sql driver

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Not Evaluated Not Evaluated
    • 5.15.14, 6.5.0
    • 5.15.13
    • SQL Support
    • None
    • All
    • 5a334b3d2 (dev)

      Inserting a string made by 1 char with a prepared query fails with error

      [Microsoft][SQL Server Native Client 11.0][SQL Server] String or binary data would be truncated.

      The same software works with Qt 5.15.12

        1. CMakeLists.txt
          2 kB
        2. main.cpp
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            chehrlic Christian Ehrlicher
            marcolazzarotto Marco Lazzarotto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes