Hi, All! I'm only halfway through SQL For Dummies, and am hoping someone can help me with a SQL query to clean up a data entry issue.
Somewhere along the line someone created hundreds of products with an extra hyphen at the end of the item lookup code, which has been a pain when manually typing in lookup codes.
Does anyone out there have the SQL skills to write a query that would look at the Item Lookup Code, check to see if it ends in a hyphen, and it it does, remove that last hyphen without removing any other hyphen in the lookup code?
Any help is greatly appreciated.
*This post is locked for comments