28939/can-i-have-multiple-primary-keys-in-a-single-table
Can I have multiple primary keys in a single table?
A Table can have a Composite Primary Key which is a primary key made from two or more columns. For example:
CREATE TABLE userdata ( userid INT, userdataid INT, info char(200), primary key (userid, userdataid) );
A primary key is unique and it ...READ MORE
In one ALTER TABLE statement, I would ...READ MORE
I want to search for every column's ...READ MORE
Hi Shraddha, You have a doubt to add ...READ MORE
What is a unique index? A unique index ...READ MORE
I am designing No-SQL DB schema for ...READ MORE
What you want to accomplish isn't possible ...READ MORE
You can connect your Java code with ...READ MORE
Reference the System.Web dll in your model ...READ MORE
To enable the database service to start ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.