If any possiable to use 2 primary key in single table?
How many primary key & foreign key used in each table(min &
max)?
Answers were Sorted based on User's Feedback
Answer / manikanta.srinu
Table can have only one primary key.243 foreign key can
poosiable for a table
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / rajkumar
A table can have only one foreign key and 253 foreign keys can have in a single table.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / amit kumar sharma
A table can have only one cluster index i.e. Primary key
and 249 non-cluster index i.e. foreign key.
Cluster Index have 3 leaf in b-tree and the last node
itself containing data.
While Non-cluster index have 4 leaf in b-tree and the 3rd
node containing the ref of data (4th node).
| Is This Answer Correct ? | 1 Yes | 0 No |
What is an active database?
Tell me about pre-defined functions of sql?
Explain a checkpoint?
What methods do you follow to protect from sql injection attack?
What is difference between rownum and rowid?
The Difference between 'Count' and 'Count(*)'
Can a stored procedure call itself or a recursive stored procedure? How many levels of sp nesting is possible?
What do you mean by sql server 2005 express management tools?
How to retrieve range of 10th rows to 20 th rows from total rows from a database table.? (Not from Dataset)
10 Answers Cognizant, Infosys,
Write a SQL queries on Self Join and Inner Join.
What is the default sql server instance name?
What is outer join in sql server joins?
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)