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 primary key sql?
Can we use delete in merge statement?
What is sql prepared statement?
What is query syntax?
What are expressions?
What is restrict in sql?
Any attempt to navigate programmatically to disabled form in a call_form stack is allowed?
My select statement is not working as expected, So, to overcome from such issues what are the steps needed to be taken care?
What is data control language (dcl)?
How can I get the number of records affected by a stored procedure?
Differentiate pl/sql and sql?
- Types of triggers - View - Dcl - Procedures, packages, functions - Metasolve - Can use Dcl in triggers - package case study - Cursor and its types - triggers schedule - Wrap - Why we are using fetch and for in cursor. difference?
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)