I have an Oracle table which has a column called sql_query. All the SQL queries are placed in this column for all the records in that table.
Now, I see many records which have NO SPACE before WHERE in WHERE clause. I need it because the field hits several web forms and I get a syntax error.
Ex:
Select * from haystackwhere id = 3;
How do find these kind of records and replace them with a space like this:
Select * from haystack where id = 3;
Thanks!!