Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL Trigger oddness

Status
Not open for further replies.

mikehilly

IS-IT--Management
Jun 2, 2000
3
HK
Why do my triggers fire on an update that effects one row eg
[UPDATE Customer SET CustomerName = 'Some Geezer' where CustomerID = 3]
but not on an update that effects multiple rows eg
[UPDATE Customer SET CustomerName = "No Name" where CustomerName is null] ??
If I run the same query using MS Access connected to the SQL Server the triggers fire on all Rows.

Thanks

Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top