[HACKERS] Re: How would I make a table of autonumbers/sequences?

2001-08-20 Thread Lee Harr
On 17 Aug 2001 06:58:38 -0700, Joseph Castille <[EMAIL PROTECTED]> wrote: > I want to make a field in a table contain numbers that increment each > time a record is updated. How would I go about doing this? > > > Example: > > Table1 > CustID balance > A12255.32 > B20132.

[HACKERS] Re: Table Structure

2001-04-07 Thread Lee Harr
> >Hi EveryBody: > >How can i get the structure of a table (Fields names, data types, etc) try this: \d table ---(end of broadcast)--- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddre

[HACKERS] Re: ERROR: cannot find attribute 10 of???

2001-01-10 Thread Lee Harr
lly when you get a "0 is not a ..." it means that you failed to set the variable used in your function call. ie. you might have pg_fetch_array( $result, 10 ) but had pg_exec( $database, $query ); instead of $result = pg_exec( $database, $query ); > >Thanks in advice > >ineck > > Lee Harr [EMAIL PROTECTED]