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 |
What is trigger with example?
What is the maximum number of columns in sql table?
Why is there a need for sqlcode and sqlerrm variables?
what is unique key constraint? : Sql dba
i have one table with accounts and amounts as colums.accounts with columns c and d. and amounts with values 1000,2000,3000 for c and 4000,5000,8000 for d.i need to find the sum of these accounts c and d individually and find the differences between their sum using one select statement.
What is an ndf file?
what are the advantages of using stored procedures? : Sql dba
What is left join example?
What is meant by Join? What are the different types of Joins available? Explain.
What is the use of primary key?
What is the reports view in oracle sql developer?
What are the methods of filing?
Oracle (3253)
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)