africanw
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.