I need help on trigger, I am trying to add a default value if the new value is null.
for ex: tab1(col1 varchar2(10), col2 datetime, col3 decimal(5,0))
I want a trigger to execute after insert of each row if col3 is null, then default both col2 = current year to sec and col3 = 100.
I am new to...
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.