adspace


How do you modify a trigger?

Answer Posted / Sudha

To modify an existing trigger in SQL, you would typically drop the old trigger and then create a new one with the updated logic. Here's a basic example using MySQL: DROP TRIGGER trigger_name; CREATE TRIGGER trigger_name AFTER EVENT FOR EACH ROW BEGIN ... END;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do we need to rebuild index after truncate?

1138


Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me

2091


What is the current version of postgresql?

1178


what are all the common sql function? : Sql dba

1131


Does group by remove duplicates?

1112


what are the advantages of sql ? : Sql dba

1142


how to use regular expression in pattern match conditions? : Sql dba

1113


what is bcp? When does it used? : Sql dba

1056


What is the best sql course?

1050


Can delete statement be rollbacked?

1054


If a cursor is open, how can we find in a pl/sql block?

1238


what is collation? : Sql dba

1229


how to escape special characters in sql statements? : Sql dba

1114


Can we use distinct and group by together?

1133


How do I remove duplicates in two columns?

1187