Depending on your trigger..
Majority of the time when you insert, delete, update coulmn the trigger gets activiated.
Here is an example.
[COLOR=red yellow]
CREATE trigger dbo.table_i on dbo.table
for insert
as
declare @data varchar(255)
declare cur_time1 cursor for
select columnA
from inserted
open cur_time1
readnext:
fetch next from cur_time1 into
@data
if @@FETCH_STATUS <> 0
goto eof
/* You can do any scenerios below*/
/* You can change "not like" to (=, >,<,<>)*/
if @data not like 'Scenerio_That_You_Dont_Want_ToUpdate%'
Begin
exec stored_procdurre
End
goto readnext
eof:
close cur_time1
deallocate cur_time1
RETURN
GO
SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GO
[/color]
If you need any expalnation let me know.
Dr. Sql
goEdeveloper@yahoo.com
Good Luck.