what is mean by constraints in sql?

Answers were Sorted based on User's Feedback



what is mean by constraints in sql?..

Answer / sethuraja

constraints are set of conditions which is ensure the field
data satisfy the conditions

Is This Answer Correct ?    19 Yes 3 No

what is mean by constraints in sql?..

Answer / sravanthi

Constaints are used to limit the data that can go into
table.

Basically, conditions are kept on columns in the table so
that data will insert based on those conditions.

Is This Answer Correct ?    5 Yes 0 No

what is mean by constraints in sql?..

Answer / prabhu

It is used to limit the data that going in to the table.

Is This Answer Correct ?    0 Yes 0 No

what is mean by constraints in sql?..

Answer / guest

the way of accessing data by doing some rules

Is This Answer Correct ?    5 Yes 7 No

what is mean by constraints in sql?..

Answer / yaseen

to maintain the data .

Is This Answer Correct ?    4 Yes 7 No

Post New Answer

More SQL Server Interview Questions

Write an sql query to sort a table according to the amounts in a row and find the second largest amount.

0 Answers   Amazon,


Can a unique index be created on a column, which contains null?

0 Answers  


What are constraints in microsoft sql server?

0 Answers  


How to apply filtering criteria at group level with the having clause in ms sql server?

0 Answers  


in emptable i want to retrive the name of employee whose name in 'J'char.exp: arjun,jagadesh,niranjan,anju,aaaj etc.

8 Answers  






when you create a database how is it stored? : Sql server database administration

0 Answers  


What is indexing in sql server with example?

0 Answers  


What happens on checkpoint?

0 Answers  


Explain the disadvantages of cursors?

0 Answers  


* CREATE TABLE [dbo].[t_Colors]([ColorId] [int] NOT NULL,[ColorName] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [ColorDesc] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,[ColorIndex] [int] NULL) ON [PRIMARY] GO * insert into [t_Colors] values(101,'Red','',1) insert into [t_Colors] values(101,'Red1','',2) insert into [t_Colors] values(102,'Blue','',1) insert into [t_Colors] values(102,'Blue1','',2) insert into [t_Colors] values(102,'Blue2','',3) * In this table i need to delete DELETE FROM t_Colors WHERE ColorIndex=1 AND ColorId=102 After delete above condition i need to update the ColorIndex set to 1 for Blue1[ColorName] and 2 for Blue2[ColorName] select * from [t_Colors] Note:- how can i get updates the ColorIndex values after delete. for example we need to update Blue1 ColorIndex set to 1 and Blue2 ColorIndex set to 2

0 Answers  


logshipping is Any difference 2000 and 2005?

2 Answers  


How to create an inline table-valued function?

0 Answers  


Categories