what is the Surrogate key?and wt is the diff between Primary
key and Surrogate Key?
Answers were Sorted based on User's Feedback
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 |
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 |
What is standby servers? Explain types of standby servers.
What is a cursor, index in sql?
What is the cartesian product of the table?
How to Execute an Operating System Command From Within SQL Server ?
How you can change a cross join into an inner join?
WRITE A FUNCTION TO DISPLAY THE OUTPUT OF AN EXISTING TABLE RANGE LIKE COMMAM SEPERATED VALUES LIKE RANGE1,RANGE2,...
What is stored in the mssqlsystemresource database? : sql server database administration
How to display n-1 columns from n number of columns, from a single table in MS SQL server 2005?
What is a Stored Procedure?
What are the system database in sql server 2005?
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.
Explain indexed views?