What is Primary key and foreign key? Give an example

Answer Posted / aaaaaaaaaaaaa

Primary key is a primary key that is an attribute.

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to write the storeprocedure with in the store procedure? and how can we write the store procedure with in a trigger vice versa? plz post me the exact answer?

2337


Determine how to use the inserted and deleted pseudo tables?

728


What is the preferred way to create a clustered and non-clustered index? Which index should you create first the clustered or non-clustered?

638


How to update a field in SQL after ALTERING a row?

883


What happens if you insert a duplicate key for the primary key column in ms sql server?

727






do you know what is a deadlock and what is a live lock? How will you go about resolving deadlocks? : Sql server database administration

677


What is self contained multi valued query?

746


How to list all user defined functions in the current database?

694


what are the different ways of moving data/databases between servers and databases in sql server? : Sql server database administration

709


How to handle error or exception in sql?

705


What is the difference between functions and stored procedures?

797


What is subquery in sql?

737


How to create view in stored procedure sql server?

694


What are partitioned views and distributed partitioned views?

803


you have couple of stored procedures that depend on a table you dropped the table and recreated it what do you have to do to reestablish those stored procedure dependencies?

802