can you any body tell me the difference between candidate
key and primary key
Answer Posted / arijit
A candidate key is a combination of attributes that can be
uniquely used to identify a database record without any
extraneous data. Each table may have one or more candidate
keys. One of these candidate keys is selected as the table
primary key.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Explain how dts is used to extract, transform and consolidate data?
what is the system function to get current user's user id? : Sql server database administration
Does group by sort data?
What is log in sql server?
How to create function with parameter in sql server?
Why use view instead of a table?
Do you know what are the differences between lost updates and uncommitted dependencies?
What is dirty page?
This question asked during interview, 2) At the end of each month, a new table is created for each bank that contains monthly metrics consolidated at the account level. The table naming convention is bankX_YYYYMM where X represents the numeric designation of the bank and YYYYMM indicates the 4 digit year and 2 digit month. The tables contain the following fields: name data type description account text account number registered boolean indicates whether the account is registered num_trans integer number of transactions made during the time period spend numeric(9,2) total spend during the time period a) Write a SQL query that will display the total number of transactions and total spend for "Bank1" during the 4th quarter of 2009. b) Write a SQL query that will display the total number of transactions and total spend at "Bank1" and "Bank2", broken out by registered vs. non-registered accounts, during January 2010 not sure what is correct answer and how to solve?
Difference between Logical Page and Physical Page in SSRS.
What are different type of Collation Sensitivity?
What to perform pattern match with the like operator?
Why you need indexing? Where that is stored and what you mean by schema object? For what purpose we are using view?
what is the difference between Delete and Truncate command in SQL
What is use of except clause? How it differs from not in clause?