> >> I think an USING clause would be a great addition:
> >>
> >> GENERATED BY DEFAULT AS IDENTITY [USING SEQUENCE <name>]
> >>
> >> What do you think?
> > What Sequence (name) would be used if the USING was omitted?
> >
> >
> A generated one, like now and like happens with constraints and indexes.

Aren't IDENTITY values supposed to be unique/not shared across tables? (By 
allowing the Name to be specified, you would allow for a sequence to be shared, 
no?)

Further, you propose that IDENTITY are the same as SEQUENCE/Generators, but 
this is not how most other engines have implemented the functionality, they 
treat Identity as different object from sequence (though very similar) to 
restrict operations on the values (not allow for the value to be managed).


Sean


------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to