SQL Delete duplicate records
I want to write query trigger to delete duplicate records, can someone assist me.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Hermes CondezPosted Mar 7, 2012, 3:40 AM
Jignesh TrivediPosted Mar 6, 2012, 11:28 PM
To doing some activety on table instead of inserting or updating u must write Insteadof trigger on table.
please refer,
http://www.mssqltips.com/sqlservertip/1804/using-instead-of-triggers-in-sql-server-for-dml-operations/
http://msdn.microsoft.com/en-us/library/aa224818%28v=sql.80%29.aspx
hope this help.
SenthilkumarPosted Mar 6, 2012, 9:22 PM