How I can check if table or stored procedure o trigger exist
there are some ideas...
check if table or stored procedure o trigger exist
Moderators: gto, EgonHugeist
check if table or stored procedure o trigger exist
Codebue Fabio
P-Soft - http://www.p-soft.biz
Firebird La Comunità Italiana - http://www.firebirdsql.it
GestionaleOpen - http://www.gestionaleopen.org
P-Soft - http://www.p-soft.biz
Firebird La Comunità Italiana - http://www.firebirdsql.it
GestionaleOpen - http://www.gestionaleopen.org
and how to discover a trigger?seawolf wrote:ZConnection.GetTableNames('',list) where list is a TStrings containing a list of all tables (system tables too).
ZConnection.GetStoredProcNames('',list) where list is a TStrings containing a list of all stored procedures.
Codebue Fabio
P-Soft - http://www.p-soft.biz
Firebird La Comunità Italiana - http://www.firebirdsql.it
GestionaleOpen - http://www.gestionaleopen.org
P-Soft - http://www.p-soft.biz
Firebird La Comunità Italiana - http://www.firebirdsql.it
GestionaleOpen - http://www.gestionaleopen.org