le, index, view, or foreign table in the same schema.
  </P
><P
>   After a sequence is created, you use the functions
   <CODE
CLASS="FUNCTION"
>nextval</CODE
>,
   <CODE
CLASS="FUNCTION"
>currval</CODE
>, and
   <CODE
CLASS="FUNCTION"
>setval</CODE
>
   to operate on the sequence.  These functions are documented in
   <A
HREF="functions-sequence.html"
>Section 9.16</A
>.
  </P
><P
>   Although you cannot update a sequence directly, you can use a query like:

</P><PRE
CLASS="PROGRAMLISTING"
>SELECT * FROM 