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 |
Define Foreign Key?
3 Answers ADP, College School Exams Tests,
What is the difference between UNIQUE and DISTINCT keywords in DBMS?
What is scd (slowly changing dimension)? : sql server analysis services, ssas
Explain about merge replications?
What is blocking and how would you troubleshoot it?
How will you make an attribute not process? : sql server analysis services, ssas
What are group functions in query statements in ms sql server?
What is the difference between system objects and user objects?
How to restart SQL Server in single user mode? How to start SQL Server in minimal configuration mode?
What are the tool windows in sql server management studio? : sql server management studio
IN Vs OR operator which is best to use sql server.
Explain intellisense for query editing
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)