What are primary keys and foreign keys?
Answers were Sorted based on User's Feedback
Answer / nevual
Primary keys are the unique identifiers for each row. They
must contain unique values and cannot be null. Due to their
importance in relational databases, Primary keys are the
most fundamental of all keys and constraints. A table can
have only one Primary key.
Foreign keys are both a method of ensuring data integrity
and a manifestation of the relationship between tables.
Is This Answer Correct ? | 7 Yes | 0 No |
Answer / sudarsan
Primary key is a unique id for each table. This prevents
duplication of records. Each table can have a single
primary key. They can be refrenced by any tables as a
foreign key.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / jai prakash chauhan
Primary keys are by default clustered index.
Is This Answer Correct ? | 3 Yes | 2 No |
Explain some stored procedure creating best practices or guidelines?
how many joins we can write if at all we have n no of tables
5 Answers Tanla Solutions, TS,
What is policy based management (pbm)? : sql server database administration
how many bits ip address consist of? : Sql server database administration
Explain what is “asynchronous” communication in sql server service broker?
How to tune a stored procedure?
write query for fourth maximum salary from employee table
14 Answers Mind Tree, SP Software,
How to change server name in sql server?
What is Schema in Database?
What is the command dbcc checkdb used for?
how to connect sybase to sql server 2005?.
wat will be the sql query to extract only last 3 records from table supose table hving thousands for records