Skip to content

Instantly share code, notes, and snippets.

@migueltaoliveira
Last active December 24, 2015 10:09
Show Gist options
  • Save migueltaoliveira/6781891 to your computer and use it in GitHub Desktop.
Save migueltaoliveira/6781891 to your computer and use it in GitHub Desktop.
Criar Sequencias
CREATE SEQUENCE agentserial
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
CREATE SEQUENCE roleserial
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
CREATE SEQUENCE agenthaspermissionserial
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
CREATE SEQUENCE grouphaspermissionserial
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
CREATE SEQUENCE rolehaspermissionserial
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
CREATE SEQUENCE groupserial
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
CREATE SEQUENCE oauthdataserial
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment