Problem with INSERT (...) RETURNING (...) and using dbExpress with Delphi
-------------------------------------------------------------------------

                 Key: CORE-5592
                 URL: http://tracker.firebirdsql.org/browse/CORE-5592
             Project: Firebird Core
          Issue Type: Bug
    Affects Versions: 3.0.2, 3.0.1, 3.0.0
         Environment: Windows 10; Firebird 3.0.2; Delphi XE8 / 10.2 Tokyo; 
dbExpress
            Reporter: Luiz Fernando Trevisan


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




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to