Support the SQL Standard ALTER SEQUENCE .. RESTART (without WITH clause)
------------------------------------------------------------------------

                 Key: CORE-4350
                 URL: http://tracker.firebirdsql.org/browse/CORE-4350
             Project: Firebird Core
          Issue Type: Improvement
          Components: Engine
            Reporter: Lukas Eder
            Priority: Minor


When using the ALTER SEQUENCE .. RESTART statement, I might want to restart the 
sequence to its original start value, without explictly supplying that. E.g.

    ALTER SEQUENCE xxx RESTART;

This is currently not possible:
http://www.firebirdsql.org/refdocs/langrefupd20-alter-seq.html

This is possible in any of these databases...

- DB2
- HSQLDB
- PostgreSQL
- SQL Server

... and in the SQL standard:

<alter sequence generator restart option> ::=
RESTART [ WITH <sequence generator restart value> ]

-- 
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

        

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to