Skip to content

Problem with INSERT (...) RETURNING (...) and using dbExpress with Delphi [CORE5592] #5858

@firebird-automations

Description

@firebird-automations

Submitted by: Luiz Fernando Trevisan (luizztrevisan)

Attachments:
Insert_Returning.zip

using dbExpress components (TSQLConnection and TSQLDataSet)

running this command:
insert into CAD_CULTURAS (EMPRESA,
CODIGO,
NOME)
values (1,
null,
'soja')
returning CODIGO

The following error message is generated
Cursor is not open.

In Firebird 2.5.7 the code works perfectly

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions