Mailing List Archive



Back to the month index Back to the list index

Oscar Santos (santos@xures.ei.uvigo.es)
Tue, 22 Apr 1997 18:48:03 -0600


Message-Id: <335D5C43.6CE9@xures.ei.uvigo.es>
Date: Tue, 22 Apr 1997 18:48:03 -0600
From: Oscar Santos <santos@xures.ei.uvigo.es>
Subject: [mSQL] Automatic field identifier?

Hello friends!

I4m new in mSQL and of course i4ve a question for you:

When I insert a record in my database, Is there a way that
msql automatically gives him a unique identifier?

example

Table : people

create table people( IDpeople int, name char(50))

.( I don4t know?).

insert into people values ( $what, 'Oscar Santos')

Note I use a database whith some tables with relationships between them.

Thanks and sorry my English.

Saludos.

Oscar Santos
santos@xures.ei.uvigo.es
--------------------------------------------------------------------------
To remove yourself from the Mini SQL mailing list send a message containing
"unsubscribe" to "unsubscribe" to msql-list-request@bunyip.com. Send a message containing
"info msql-list" to majordomo@bunyip.com for info on monthly archives of
the list. For more help, mail owner-msql-list@bunyip.com NOT the msql-list!