On Vie 07 Sep 2001 19:01, [EMAIL PROTECTED] wrote:
> you know how, if you make a field a primary key and have it auto
> increment... then if you delete an entry and add a new one it makes the
> field 2 instead of 1... i know thats explained bad but do you know what i
> mean? is there a way to make it go back to 1 as if there were never any
> fields entered?

Man, this is a PHP list, not an SQL list.

Any way, you never said what Database server you are using, and the auto 
incrementals work differently on Oracle, PostGreSQL, MySQL or Informix.

Saludos... :-)

-- 
Porqué usar una base de datos relacional cualquiera,
si podés usar PostgreSQL?
-----------------------------------------------------------------
Martín Marqués                  |        [EMAIL PROTECTED]
Programador, Administrador, DBA |       Centro de Telematica
                       Universidad Nacional
                            del Litoral
-----------------------------------------------------------------

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to