Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql General > Re: Sequences
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 15858 of 17437
Post > Topic >>

Re: Sequences

by artacus@[EMAIL PROTECTED] (Artacus) Jun 19, 2008 at 12:20 AM

>  
> I want to create a sequence that increases in unit column 3 for each 
> record individually in column 2
>  
> How do i create a sequence that can manage this?
> Is there a solution for this?
>  
Yeah, depesz shows how to do this here
http://www.depesz.com/index.php/2007/08/17/rownum-anyone-***ulative-sum-in-one-query/

-- 
Sent via pgsql-general mailing list (pgsql-general@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
 




 1 Posts in Topic:
Re: Sequences
artacus@[EMAIL PROTECTED]  2008-06-19 00:20:08 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 16:07:15 CST 2008.