Reputation: 103
what wrong with this code i want to copy Hno to Hno2 but change from / to . such as 12/3 to 12.3 i use mysql
update set hno2 = SELECT REPLACE(hno, '/', '.') FROM member;
Hno
varchar(255) DEFAULT NULL,
Hno2
decimal(8,4) NOT NULL,
Upvotes: 0
Views: 123