can foreign key take role of primary key?
Answer Posted / radhakrishnan vaithilingam
no,foreign key is possible for null value in column.
this rules not matching with PK.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
How display code or Text of Stored Procedure using Sql query in Sql Server ?
What is the difference between update lock and exclusive lock?
What is a cube? : sql server analysis services, ssas
Explain some stored procedure creating best practices or guidelines?
What is provisioning, billing and metering, and connection routing concepts in the service layer?
Explain how long are locks retained within the repeatable_read and serializable isolation levels, during a read operation with row-level locking?
Retrieve the unique rows from table without using UNIQUE and DISTINCT keywords.
Is it possible for a stored procedure to call itself or recursive stored procedure? How many levels of sp nesting are possible?
How to get the definition of a view out of the sql server?
How can windows applications connect to sql servers via odbc?
Write an SQL query to obtain the 2nd highest salary.
What is partition in sql server?
Which data types generate inaccurate results if used with an = or <> comparison in a where clause of a sql statement?
How to find the source of a table in sql server?
Which trace flags are enabled in sql server?