Validating data on insert or update


hi

new @ this. 

questions when data being inserted or updated how can trap that, check data , modify before inserted or updated?

thanks

regards


if want modify data need use trigger, if need check data can use check constraint

http://www.w3schools.com/sql/sql_check.asp

http://msdn.microsoft.com/en-us/library/ms189799.aspx


signature



SQL Server  >  Getting started with SQL Server



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........