Loading...

c# (Csharp) and SQL interview question :- What is the difference between unique key and primary key?

228,845 views

Loading...

Loading...

Transcript

The interactive transcript could not be loaded.

Loading...

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Mar 11, 2011

For more such videos visit http://www.questpond.com

See our other Step by Step video series below :-
Learn SQL Server Step by Step in 16 hours:- http://tinyurl.com/ja4zmwu
Learn MSBI Step by Step in 32 hours:- https://goo.gl/TTpFZN
Learn Angular tutorial for beginners https://tinyurl.com/ycd9j895
Learn MVC Core step by step :- http://tinyurl.com/y9jt3wkv
Learn MVC 5 Step by Step in 16 hours:- https://goo.gl/dmdakg
Learn Xamarin Mobile Programming Step by Step :- https://goo.gl/WDVFuy
Learn Design Pattern Step by Step in 8 hours:- https://goo.gl/eJdn0m
Learn C# Step by Step in 100 hours :- https://goo.gl/FNlqn3
Learn Data structures & algorithm in 8 hours :-https://tinyurl.com/ybx29c5s
Learn Javascript in 2 hours :- http://tinyurl.com/zkljbdl
Learn SharePoint Step by Step in 8 hours:- https://goo.gl/XQKHeP
Learn TypeScript in 45 Minutes :- https://goo.gl/oRkawI
Learn webpack in 50 minutes:- https://goo.gl/ab7VJi
Learn Visual Studio code in 10 steps for beginners:- https://tinyurl.com/lwgv8r8
Learn Tableau step by step :- https://tinyurl.com/kh6ojyo


Unique key can have nulls
Primary key cannot have nulls.
In a single table we can create multiple unique keys.In a single table we can have only one primary key.
=============================================
Unique key creates a non-clustered index by default.Primary Key created a clustered index by default.
================================================
Both unique keys and primary keys can be referenced by foreign key.
For more such videos visit http://www.questpond.com

We are also distributing a 100 page Ebook "Sql Server Interview Questions ". If you want this ebook please share this video in your facebook/twitter/linkedin account and email us on questpond@questpond.com with the shared link and we will email you the PDF.

Buy Questpond videos on discount - http://www.itfunda.com/Interview

Loading...

Advertisement

to add this to Watch Later

Add to

Loading playlists...