ALLInterview.com :: Home Page kalaajkal.Com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories >> Software >> Microsoft-Related >> ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
Question
can u create two Primary key for a table?
--Sivaa
 Question Submitted By :: Sivaprakasam
I also faced this Question!!     Rank Answer Posted By  
 
  Re: can u create two Primary key for a table? --Sivaa
Answer
# 1
No
 
0
Sivaprakasam
 
  Re: can u create two Primary key for a table? --Sivaa
Answer
# 2
S we can create its called composite key

ALTER TABLE TableName
 ADD CONSTRAINT CONSTRAINT _Name
  PRIMARY KEY (attribute1,attribute2)
 
0
Purushotham
 
 
 
  Re: can u create two Primary key for a table? --Sivaa
Answer
# 3
no,we can't create two primary key's in 1 table.
 
0
Rambhopal Reddy
 
  Re: can u create two Primary key for a table? --Sivaa
Answer
# 4
No, we cannot create more than one Primary key for a table. 
Composite Primary key as mentioned in the answer by 
Purushotham consists of more than one columns together 
making a Primary key. In such a case the columns may be 
more than one but the Primary key is one.
 
0
Monalisa Behera
 
 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
How do you add a javascript function for a link button in a datagrid ? Microsoft2
Which two properties are there on every validation control?  2
If you have to replicate a set of controls(UI) across a number of web pages, what will you do  1
what is the dllhell? why we use the dllhell?  3
What are the new page events added in Asp.net 2.0 ? Sapient4
How do you relate an aspx page with its code behind page ? Accenture2
what is caching? Microsoft2
Difference between asp and asp.net? Accenture1
how to update data using store procedure  1
State management in asp.net ? Accenture3
Which method do you invoke on the DataAdapter control to load your generated dataset with data?  1
what is <location> tag?  2
we are working in .net namespaces like using system.io,system.text. these namespace before we use "using " keyword what means of using? Tech-Mahindra5
Caching techniques in .NET? Microsoft1
What is role-based security?  1
Tell something about state management in asp.net? Accenture2
What is the name of the process the browser uses to find the address of a web server? a) DMZ b) DNS c) Active Directory d) Database lookup Syntax-Softtech1
What is the need to give <compilation debug=true> command ? Netsweeper3
what is CLR? PrimeLine3
What is a Repeater Control and how does it works? and what is the diffrence b/w Gridview,datalist and repeater control? USi2
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com