Quantcast

[FB-Tracker] Created: (DNET-736) Set Generator Value

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[FB-Tracker] Created: (DNET-736) Set Generator Value

JIRA tracker@firebirdsql.org
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider
Loading...