niras
01-22-02, 09:45
| Hi Does anyone of you know how I ca create a trigger to do the following Table tbs contain 3 columns : total, num_col and alpha_col I'm doing an insert in table tbs: insert into tbs (total) values ('111aaa') Now I want the trigger to split '111aaa' in to parts: An numeric and a characterpart. The trigger should store the numeric part (111) in column num_col. And the characterpart should be stored in alpha_col. Can anyone help ?!?!? :) Torsten |