db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Cox" <j...@cwindustries.net>
Subject RE: autoincrement of non primary key
Date Thu, 04 Mar 2004 14:21:05 GMT
Thanks so much all... The unique-column looks to be exactly what I am
looking for. Guess I didn't realize I could form a unique constraint in
this way. Again thanks for all the suggestions.

Jeff 

-----Original Message-----
From: Luca Zappa [mailto:luca@lucazappa.com] 
Sent: Thursday, March 04, 2004 8:57 AM
To: torque-user@db.apache.org
Subject: RE: autoincrement of non primary key


>> <unique name="foo">
>> <unique-column name="SESSION_ID"/>
>> <unique-column name="SECTION_ID"/>
>> <unique-column name="ACTIVITY_ID"/>
>> </unique>
>
> Will that make the group of them unique, or each one?


Hi Dave,
the group of this 3 columns will be unique.

Bye
  Luca

-----Original Message-----
From: Dave Newton <dave@solaraccess.com>
Sent: Thursday, 4. Mar 2004 14:37 +0100
To: Apache Torque Users List <torque-user@db.apache.org>
Subject: RE: autoincrement of non primary key

On Thu, 2004-03-04 at 01:15, Thomas Edwin Santosa wrote:
>> <unique name="foo">
>> <unique-column name="SESSION_ID"/>
>> <unique-column name="SECTION_ID"/>
>> <unique-column name="ACTIVITY_ID"/>
>> </unique>
>
> Will that make the group of them unique, or each one?

Dave



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message