By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,377 Members | 3,038 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,377 IT Pros & Developers. It's quick & easy.

need to append leading digit to field

P: n/a
I have a large database of upc codes. The original program chopped off
the leading digit from the code, and the string is now stored as text.
Anyone know of a good way to add a single digit to the beginning based
on a search query?

ie in field
field 1 field 2
1111122222 amg sling

I know that the amg sling should have a 7 infront of the string, how
can I search for amg* and add a 7 to all matches?

Thanks very much

Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
umm... an update query?

UPDATE mytable
SET myField="7" & myfield
WHERE field2 LIKE "amg*";

Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.