what is the Surrogate key?and wt is the diff between Primary
key and Surrogate Key?

Answers were Sorted based on User's Feedback



what is the Surrogate key?and wt is the diff between Primary key and Surrogate Key?..

Answer / rajesh s. chandan

Unique identitiy key is generated during data load process
(ETL) in the datawarehouse system is called as Surrogate
key.
It is mainly used to update slowing changing dimesion
attribute data and also it removes dependencies on key
originating in different data sources.

Primary key is uniquely identified each record in a table
with no null values.

Is This Answer Correct ?    11 Yes 0 No

what is the Surrogate key?and wt is the diff between Primary key and Surrogate Key?..

Answer / jayaraj

Primary key is a type of key where the data inside the
column should be unique and should not be null.we generally
use the primary key to access any of the rows of a table by
using the primary key column.when a table don't have a
primary key then we assign a primary key to the table which
is known as surrogate key for accessing any row of the
table. means the key will act like a primary key for the
table.

Is This Answer Correct ?    4 Yes 16 No

Post New Answer

More SQL Server Interview Questions

What is standby servers? Explain types of standby servers.

0 Answers  


What is a cursor, index in sql?

0 Answers  


What is the cartesian product of the table?

0 Answers  


How to Execute an Operating System Command From Within SQL Server ?

3 Answers  


How you can change a cross join into an inner join?

0 Answers  






WRITE A FUNCTION TO DISPLAY THE OUTPUT OF AN EXISTING TABLE RANGE LIKE COMMAM SEPERATED VALUES LIKE RANGE1,RANGE2,...

2 Answers   TVS,


What is stored in the mssqlsystemresource database? : sql server database administration

0 Answers  


How to display n-1 columns from n number of columns, from a single table in MS SQL server 2005?

2 Answers  


What is a Stored Procedure?

8 Answers  


What are the system database in sql server 2005?

0 Answers  


Their are two tables 'A' and'B'.Table 'A' contains 3 columns named 'eid','ename','dept'. Table 'B'contains 3 columns named'sid','designation','salary'. We have to retrieve the names of employees working in the same department,same designation and same salary. Its urgent can anyone help me out in this problem.

6 Answers   Tech Mahindra,


Explain indexed views?

0 Answers  


Categories