Re: [SQLObject] Setting Conditions in a Table

2007-08-28 Thread Oleg Broytmann
On Tue, Aug 28, 2007 at 01:02:29PM -0400, luis cota wrote: > Can I create a condition that forces the ts/id_str combination within each > row to be unique? Create a unique index in the database. Oleg. -- Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]

[SQLObject] Setting Conditions in a Table

2007-08-28 Thread luis cota
Is it possible to set conditions on a table entry? For example, if you have a data set with these cols: ts = DateTimeCol () // time stamp id_str = StringCol // string identifier Can I create a condition that forces the ts/id_str combination within each row to be unique? Thanks! - Luis ---