Skip to content

ct_cursor with ct_param #640

@msilewicz

Description

@msilewicz

Hello there,

Is it possible to bind input parameter values via ct_param in CS_COMMAND initiated with ct_cursor (CS_CURSOR_DECLARE) ?

I cannot find any examples to do it ?
When I try i receive error from MSSQL server "cursor has not been declared".
ct_param return CS_FAIL because cmd_type after cs_cursor has value that is not listed in swich
in file ct.c around line 3330 (freetds version 1.4.26)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions