Set Generator Value
-------------------

                 Key: DNET-736
                 URL: http://tracker.firebirdsql.org/browse/DNET-736
             Project: .NET Data provider
          Issue Type: Bug
          Components: ADO.NET Provider
    Affects Versions: 5.7.0.0
         Environment: Select Gen_ID not work
            Reporter: Marcos Gerene Felix Spirito
            Assignee: Jiri Cincura


Look theses comands:

1. SET GENERATOR generator_name TO value

2. SELECT GEN_ID(generator_name, (SELECT MAX(id) FROM table_name) - 
GEN_ID(generator_name, 0)) FROM RDB$DATABASE;

The 1 its Ok with FBCommand ExecuteNonQuery(); method, but 2 not work.

-- 
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-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to