You cannot execute a trigger, from ODBC or SQL. They are executed automatically by DB2 whenever an update, insert, or delete is performed (depends on the type of trigger).
You can remove *drop) the trigger with the following SQL:
DROP TRIGGER myTrigger;
HTH
Andy
What you need is to do the query recursively.
There is a cookbook for DB2 located at:
http://ourworld.compuserve.com/homepages/Graeme_Birchall/HTM_COOK.HTM
that has how to do recursion.
HTH
Andy
it is NOT possible to change anything about a column except to increase the size of a VARHAR.
You have two alternatives:
1) create a view the way you want the table to look.
2) export the data, drop the table, recreate it, import the data
HTH
Andy
I suggest you read the manual to see just exactly what you can do in a trigger or a udf. Look in the SQL Reference manual on CREATE TRIGGER and CREATE FUNCTION.
Andy
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.