Link to home
Start Free TrialLog in
Avatar of africanw
africanwFlag for Australia

asked on

Sybase SQL update column with pattern

Hi,

I want to update a table use a pattern for example:

update products set productid = "productid/productid" where productid =  "productid-productid

Is that possible?

From example:
id, productid,price
1, 100-1,1
2,200-1,1

To example:
id, productid,price
1, 100/1,1
2,200/1,1


Thanks
ASKER CERTIFIED SOLUTION
Avatar of Joe Woodhouse
Joe Woodhouse

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial