InstantDB Project
About InstantDB
Project Mail Lists
Short History
Reporting Bugs
Screen Shots
3rd Party Examples
FAQs

Software
Downloads
Documentation
CVS Repositories
Roadmap
License

About Enhydra.org
Who We Are
News, Articles & Events
Getting Involved
Contact Us

Community
Demos
Contributions
Resources
Case Studies
On The Edge! -NEW-
Commercial Vendors


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: InstantDB: Problem with multiple promary Keys


Thanks !!

--- Judith Andres <Judith.Andres@gmx.net> wrote:
> Something like
> 
> CREATE TABLE a_table (
>    pk1 int,
>    pk2 int
> ) UNIQUE (pk1, pk2)
> 
> should work, hopefully :-)
> 
> Judith
> 
> ----- Original Message -----
> From: "sharathbabu Krishnarao"
> <sharathbabuk1@yahoo.com>
> To: <instantdb@enhydra.org>
> Sent: Thursday, March 01, 2001 9:29 PM
> Subject: InstantDB: Problem with multiple promary
> Keys
> 
> 
> > I have a table which has 2 primary keys say PK1 &
> Pk2.
> > I want a UNIQUE (PK1 & PK2) combination, with PK1
> &
> > PK2 non-UNIQUE, how to do this ?
> >
> > If i specify UNIQUE to both PK1 & PK2 then in
> can't
> > repeat PK1 or PK2.
> >
> > Is there a way to specify UNIQUE Column
> combinations
> > at a table level ?
> >
> > Thanx
> > Sharathbabu Krishnarao
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Get email at your own domain with Yahoo! Mail.
> > http://personal.mail.yahoo.com/
> >
>
--------------------------------------------------------------------------
> ---
> > To unsubscribe from this mailing list, send email
> to majordomo@enhydra.org
> > with the text "unsubscribe instantdb" in the body
> of the email.
> > If you have other questions regarding this mailing
> list, send email to
> > the list admin at owner-instantdb@enhydra.org.
> >
> 
>
-----------------------------------------------------------------------------
> To unsubscribe from this mailing list, send email to
> majordomo@enhydra.org
> with the text "unsubscribe instantdb" in the body of
> the email.
> If you have other questions regarding this mailing
> list, send email to
> the list admin at owner-instantdb@enhydra.org.


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/
-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.