Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between constraints and triggers?

Answer Posted / amit upadhyay

DIFFRENCE BETWEEN CONSTRAINTS AND TRIGERS


CONSTRAINTS :- IS USED FOR ENFORCING THE DATA INTEGRITY.

TRIGGER :- SQL SERVER AUTOMATICALLY FIRED TRIGGER
WHENEVER WE DO DML OPERATION.THIS IS ALSO
USED FOR ENFORCING THE DATA INTEGRITY.
WHENEVER TRIGGER IS FIRED TWO MAGIC TABLE
ARE CREATED.ONE IS INSETRTED AND SECOND
IS DELETED.

Is This Answer Correct ?    9 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the optimization being performed in oracle and SQL Server?

1093


Is truncate autocommit?

989


Can we use trigger new in before insert?

958


What is sql language?

1228


What is the Main Difference between ACCESS and SQL SERVER?

1180


How do I setup a local sql server database?

1068


How will you know when statistics on a table are obsolete?

1126


What is the difference between functions and stored procedures?

1220


What is the use of custom fields in report?

1041


What is a virtual table in sql?

1035


what is unique and xaml nonclustered index

1097


Name few of the dcl commands in sql?

1053


Define the one-to-one relationship while designing tables.

936


How to write a query with an inner join in ms sql server?

1092


If a table does not have a unique index, can a cursor be opened on it?

957