Answers were Sorted based on User's Feedback
Answer / reva ram sahu
constraint is a rule which can not be voilated by end users.
Different types of constraints are available.They are:-
1)default constraint:-which is used to define a default
2)primary key:-the key which does not allows duplication
and null values.
3)foreign key:-the key used to refer primary key defined
field in another table and it allows duplication.
4)null:-which allows NULL values.
5)not null:-which does not allows NULL values.
6)unique key:-which does not allows duplication but allows
|Is This Answer Correct ?||4 Yes||0 No|
Answer / surya
Constraints are used to provide the scope to table data...
|Is This Answer Correct ?||3 Yes||0 No|
Answer / anand
foreign key constraint
|Is This Answer Correct ?||0 Yes||1 No|
What is difference between TRUNCATE and DELETE statement
HOW TO RENAME A COLUMN NAME
I Have Employee table having column name as ID,SALARY how to get second max salary from employee table with id ex ID SALARY 1 20000 7 37000 2 5000
what is Data Transformation Services (DTS) ?can u explain me in detail?
Difference Between varchar and nvarchar datatype?
Write a stored procedure for emplpoyee and department table to get DeptName which having no employee. Table Structure- Emp-Emp_Id,Emp_Name,Dept_id Dept-Dept_Id,Dept_Name
What is index?
What is Cross Join
Explain Active/Active and Active/Passive cluster configurations?
Security Question- SQL DBA exparts, need your help...
Can we create a clustered index on composite primary key.
You have modified 100 store procedures and want to replicate these changes from development to prodution, and production can have users using the Server/DB, how would you replicate without causing issues?