怎么样替换?
如何把表中的'20071212'替换为以2006开头的字段?set col='2006'+right(col,len(col)-4)
where left(col,4)='2007' [quote][bo]以下是引用 [un]purana[/un] 在 2008-1-29 18:08 的发言:[/bo]
update tb
set col='2006'+right(col,len(col)-4)
where left(col,4)='2007' [/quote]
硬来的啊!强
回复 2# 的帖子
谢谢 了!!!!!!![em03] 够狠[em12]页:
[1]
