ExpBlog
sharing is receiving
Saturday, October 11, 2014
EXP 11: replace String in postgresql
Problem
Replace String "EJB" by "Bean" in postgresql
Solution
Using function regexp_replace(input_string, original_expression, new_expresstion)
Sample
UPDATE tbfunction
SET functionresource = regexp_replace(functionresource, 'EJB', 'Bean')
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment