Created
July 22, 2014 14:10
-
-
Save fnazarios/13382572353e6284db20 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TRIGGER workaround_whats AFTER INSERT | |
ON ZWAMESSAGE | |
BEGIN | |
update ZWAMESSAGE | |
set ZTEXT = replace( ZTEXT, 'ff', 'f f') | |
where ZWAMESSAGE.ZTEXT like '%ff%'; | |
update ZWAMESSAGE | |
set ZTEXT = replace( ZTEXT, 'fi', 'f i') | |
where ZWAMESSAGE.ZTEXT like '%fi%'; | |
update ZWAMESSAGE | |
set ZTEXT = replace( ZTEXT, 'fl', 'f l') | |
where ZWAMESSAGE.ZTEXT like '%fl%'; | |
update ZWAMESSAGE | |
set ZTEXT = replace( ZTEXT, 'ç', 'c') | |
where ZWAMESSAGE.ZTEXT like '%ç%'; | |
END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tutorial
Query 1
Query 2