Search Postgresql Archives

Re: Using sequences in SQL text files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Can I have something like this in my SQL text file:
(items_seq.nextval(), '....', '...')
?

Raymond O'Donnell <rod@xxxxxx> wrote:
On 19/02/2008 15:43, HHB wrote:

> How to use a sequence in such text files?

You're looking for the nextval() function - look it up in the docs.

Ray.

---------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod@xxxxxx
---------------------------------------------------------------



Deep into that darkness peering, long I stood there, wondering, fearing, Doubting, dreaming dreams no mortal ever dreamed before.
E.A Poe
 


Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux