| Home | SQL | PHP | HTML | Perl | PowerBuilder | C/C++ | General | Solutions | Contacts |
SQLIndexSearch and Replace Multiple Outer Joins Comparing Dates ProceduresTemplate |
Search and replace in database fieldsThe ProblemThere is information in the database that needs replacing, but this information is a substring of 1 or more rows of a field in the table, we need an equivalent to a SQL search and replace. CodeHow to useReplace the items in the code enclosed in square brackets [], with the following values :-
SuggestionsYou may wish to use a programming language which supports Dynamic SQL to make a generic function. This could take the items in square brackets as parameters to produce a very powerful database search and replace tool. DetailsAuthor: Wayne Jones Created: 1 December 2002 Works with: MS-SQL, Sybase | |
| This is Code, all contents copyright - © Wayne Jones 2004. |
