Home
|
Tutorial
|
Articles
|
Forum
|
Interview Question
|
Code Snippets
|
News
|
Fun Zone
|
Poll
|
Web Links
|
Certification
|
Search
Welcome :
Guest
Sign In
Register
Win Surprise Gifts!!!
Congratulations!!!
Top 5 Contributors of the Month
Jean Paul
satyapriyanayak
Narayanan
Karthikeyan Anbarasan
JQuery Developer
Home
>>
Interview Question
>>
Sql Server
>>
Post New Question
Subscribe to Interview Questions
Database: How many primary key constraints can be created for one table?
Posted By :
shankey
Posted Date :
August 01, 2011
Points :
40
Category :
Sql Server
Only one primary key constraints can be created for one table.
You can also find related Interview Question to
Database: How many primary key constraints can be created for one table?
below:
Which system table contains information on constraints on all the tables created?
USER_CONSTRAINTS
(More...)
Which system table contains information on constraints on all the tables created?
USER_CONSTRAINTS
(More...)
Database: State whether a view can be used for updating or deleting rows from table on which it is created?
Yes, view can update or delete from underlying tables.
(More...)
Which is not true for primary index?
a) There can be only one primary index for a table
b) It is the actual order of the table
c) It is stored in a separate table
d) It is usually created on primary key
c)
(More...)
How you will create a UNIQUE Constraint when the table is already created?
ALTER TABLE table_name
ADD UNIQUE (Column_Name)
(More...)
How you will create a CHECK Constraint when the table is already created
ALTER TABLE table_name
ADD CHECK (P_Id>0)
(More...)
Which option is used to drop constraints specified on the table?
DROP option in the ALTER TABLE command is used to drop constraints specified on the table.
(More...)
How To retrive Duplicate Records when There is no Primary key in a Table?
select city_name
from areas
group by city_name
having count(*) > 1
(More...)
how to find the table name in sql server database?
select * from INFORMATION_SCHEMA.tables where table_name like 'tblname%'
(More...)
How do we get primary key information in oracle table?
we can get primary key information with the following SQL statement
SELECT b.table_name, b.column_name, b.position, a.status, cons.owner
FROM all_constraints a, all_cons_columns b
WHERE cons.constraint_type = 'P'
AND a.constraint_name = b.constraint_name
AND a.owner = b.owner
ORDER BY b.table_name, b.position;
(More...)
Quick Links For Interview Questions Categories:
ASP.Net
Windows Application
.NET Framework
C#
VB.Net
ADO.Net
Sql Server
SharePoint
Silverlight
OOPs
JQuery
JavaScript/VBScript
Biztalk
Patten/Practices
.IIS
WCF
WPF
WWF
Networking
Aptitude
Others
All
Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.
So, Start looking our
Interview Question
section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.
Hall of Fame
Twitter
Terms of Service
Privacy Policy
Contact Us
Archives
Tell A Friend