FromTheLou
[H]ard|Gawd
- Joined
- Nov 2, 2006
- Messages
- 1,118
In the past I've used a simple statement like the following to update data in a table.
This replaces any instance of Version3.template with Default.template
Now the problem/question I have, is that I would like to replace only part of data, preferably with a wild card.
Such as this.
Are wild cards possible when using the update query? If not is there an alternative?
Code:
update S_Header set template_name = 'Default.template' where template_name like 'Version3.template'
This replaces any instance of Version3.template with Default.template
Now the problem/question I have, is that I would like to replace only part of data, preferably with a wild card.
Such as this.
Code:
update S_Header set template_name = '*Default*' where template_name like '*Version*'
Are wild cards possible when using the update query? If not is there an alternative?