C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




key functions


Posted Date: 20 Jul 2006      Total Responses: 1

Posted By: sandesh s       Member Level: Silver     Points: 2


hello all,
i want to know about the functions of composite key and unique key in sql.
please help me in finding the answer.




Responses

Author: Swapnil    20 Jul 2006Member Level: GoldRating:     Points: 2
Hi,

For Composite key, it is combination of two or more columns and work as primary key means u can not enter null, empty values and values entered in that column must be unique.

For Unique Key, it is one or combination of more columns in which only unique values can be entered but it accepts null values.


Author: Abhishek Arya    20 Jul 2006Member Level: DiamondRating:     Points: 2
composite Key:
primary key that consists of more than one column. Also known as a Concatenated Key or Aggregate Key. For example, the LINE_ITEMS table may have a composite key on {orderID, itemNumber}.




Post Reply
You must Sign In to post a response.
Next : Boyce code Normalization
Previous : How we perform the paging in Table of asp.net page
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

web conferencing services

Contact Us    Privacy Policy    Terms Of Use