Hi, Im working with Postgresql 7.32. I dont know if there are changes to 7.2 version about selecting values of a sequence. I have a sequence 'users_id' ... when I query: "Select last_value from users_id;" PgSQL always returns 1! I tested the same thing using PgSQL 7.2 ans works fine.... []'s Rapha -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php