Re: [SQL] Constraint problems

2002-09-27 Thread GB Clark
On Fri, 27 Sep 2002 11:29:34 -0700 (PDT) Stephan Szabo <[EMAIL PROTECTED]> wrote: > On Fri, 27 Sep 2002, GB Clark wrote: > > > CREATE TABLE sysusers ( > > user_id INTEGER DEFAULT nextval('sysusers_user_id_seq') > > UNIQUE NOT NULL PRIMARY K

Re: [SQL] Constraint problems

2002-09-27 Thread Stephan Szabo
On Fri, 27 Sep 2002, GB Clark wrote: > CREATE TABLE sysusers ( > user_id INTEGER DEFAULT nextval('sysusers_user_id_seq') > UNIQUE NOT NULL PRIMARY KEY, > username text NOT NULL UNIQUE, > password

[SQL] Constraint problems

2002-09-27 Thread GB Clark
Hello, I'm trying to create a constraint that will check to see if the inserted data is found in another column in the table. It could be that I'm going about this the wrong way, any clues for me? Here is the present setup data for the table. --SNIP-- -- -- -- DROP SEQUENCE sysusers_user_id_s