Assume,there are three tables in a database, Can i have
both primary key and foreign key for each table in the same
database?

Answer Posted / siva

Hi,

You can place the foreign key column in each table to allow
nulls. And insert values.

But I am still worried a lot about deletion of the values
from these tables ?

Plz post your comments

Regards,
Subbu

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is stretch database in sql server?

562


What is the rdl file?

88


How to receive output values from stored procedures?

479


Tell me the difference between clustered and non-clustered index?

510


What new changes are being made in SQL Server?

572






hi, the following are the outputs of sp_spaceused and sp_tempdbspace sp_spaceused ------------ database size unallocated size tempdb 77752.95 MB 28026.99 MB sp_tempdbspace ------------- database size spaceused tempdb 77752.945312 1.007812 the unused space in sp_spaceused is nearly 28 Gb and in sp_tempdbspace is nearly 76 Gb cany any one explain about this output and why its giving different results.

2468


Explain the steps to use transact-sql cursor?

525


Define self join?

627


How to call stored procedure using http soap?

516


How many columns can exist together per table?

702


What is sql injection? How to protect against sql injection attack?

553


How does normalization work?

500


What is the syntax to execute the sys.dm_db_missing_index_details? : sql server database administration

618


What is scalar user-defined function?

546


‘Order by’ is not allowed in a view how can you sort information from a view?

582