Hi,
pls help me how to get list of trigger names in a database through
JDBC.. I want to disable triggers for database migration ...
Regards
Sankar R
Thomas Kellerer - 11 Apr 2008 12:26 GMT
Sankar, 11.04.2008 13:15:
> Hi,
> pls help me how to get list of trigger names in a database through
> JDBC.. I want to disable triggers for database migration ...
>
> Regards
> Sankar R
There is no JDBC function for that. You will need to write a SQL statement specific for your DBMS
Thomas
Arne Vajhøj - 19 Apr 2008 17:59 GMT
> pls help me how to get list of trigger names in a database through
> JDBC.. I want to disable triggers for database migration ...
Many (but not all) databases will support:
SELECT * FROM INFORMATION_SCHEMA.TRIGGERS
Arne