Board logo

標題: MSSQL update set進階用法一問 [打印本頁]

作者: suen2003    時間: 2008-12-29 22:46     標題: MSSQL update set進階用法一問

我想問..如果我想set個value係
"mitsub610h sn:1234"變做"mitsubish sn:1234"
"mitsub610h sn:4567"變做"mitsubish sn:4567"
.....etc

update asset set particulars='mitsubishi' where particulars like '%mitsub610h%'
咁我上面set個part應該點改先可以做到前後唔理ge效果?係咪要create個function先做到?
thx





歡迎光臨 電腦領域 HKEPC Hardware (https://h0.hkepc.com/forum/) Powered by Discuz! 7.2