[V4MD] AUTO INCREMENT?

Ruslan Zasukhin sunshine at public.kherson.ua
Tue Nov 11 09:37:44 CST 2003


on 11/11/03 5:46 AM, Scott Runkel at srunkel at hypix.com wrote:

> I come from a mySQL background. Is there a way in Valentina to simulate AUTO
> INCREMENT ? I want to create primary key ids for each of my tables, and have
> the
> ids created automatically when I do an insert.
> 
> Or perhaps this isn't necessary due to the presence of the automatic "RecID"?

Hi Scott,

In many cases RecID is enough for you use.

Just note, that RecID can reuse values.
But Valentina guarantee referentional integrity

If this is not okay for you, you can self keep counter in separate helper
table and use it to get new values.

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list