How to recompile a already made trigger?
Answers were Sorted based on User's Feedback
Answer / chandrakant agrawal
To recompile Trigger:
ALTER TRIGGER <trigger_name> COMPILE;
The trigger can be enabled and disabled manually by using:
Alter Table <table_name> disable(enable) all trigger;
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / mk
Usually the trigger code is in a file e.g. trigger_name.sql
To create/replace the trigger object, at the SQL Plus prompt
type
@<folder>/trigger_name.sql
| Is This Answer Correct ? | 0 Yes | 2 No |
Which is better varchar or nvarchar?
What are the different types of sql commands?
I have a table .in the table 100 recored is there .we have get the single row with out using clause..
which tcp/ip port does sql server run on? : Sql dba
Which join is like inner join?
What are the blocks in stored procedure?
Can we call stored procedure in function?
what is isam? : Sql dba
What is the difference between alter trigger and drop trigger statements?
How do I run a sql query?
Explain the types of joins in sql?
What is rank () in sql?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)