adspace
Answer Posted / Banti
A primary key is a unique column or set of columns in a database table that unambiguously identifies each row. It enforces the rule of uniqueness, preventing duplicate values from being inserted into the primary key column(s). Each table can have only one primary key and it cannot be null.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why use identity in sql server?
How efficient you are in oracle and SQL server?
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?
what is the difference between openrowset and openquery?
How to rebuild the master database?
How to connect php with different port numbers?
Why should you use or avoid select * statements?
What is clustered index
Why and when do stored procedure recompile?
do you know how to configure db2 side of the application? : Sql server database administration
What are the different SQL Server Versions you have worked on?
How to convert character strings into numeric values?
List the ways in which dynamic sql can be executed?
What are wait types?
How do I create a trace in sql server?