Skip to content

sqlpage tries to call SQLRowCount even for select statements #1056

Open

Description

@lovasoa
[2025-10-17T13:52:41.759Z WARN  sqlx_core_oldapi::odbc::connection::odbc_bridge] Failed to get row count: ODBC emitted an error calling 'SQLRowCount':
    State: HY010, Native error: 0, Message: [unixODBC][Driver Manager]Function sequence error

Activity

  1. 81reap commented on Oct 28, 2026

    @81reap
    Collaborator

    I think we should move back onto the offical sqlx package. I see this was tried before, but cancled #1292

    Is this something we would want to try to pick back up? I can take a stab at it :)

  2. lovasoa commented on Oct 29, 2026

    @lovasoa
    CollaboratorAuthor

    it's a big project but it would be very welcome, and useful for the entire community even outside SQLPage, since this requires creating production grade odbc and sql server connectors for sqlx.

  3. lovasoa commented on Oct 29, 2026

    @lovasoa
    CollaboratorAuthor

    @81reap I'll invite you to my repos so that you can pick things up where i left them off

    https://github.com/lovasoa/sqlx-odbc

    https://github.com/lovasoa/sqlx-sqlserver/

    These crates have no production user yet, so don't hesitate to experiment, move fast and break things, until you decide on a solid foundation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions