Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
试图在表的所有记录中替换列的字符,
想用 ' ' 改变 '_'
任何片段如何做到这一点?
备注:
Nvarchar
您可以使用REPLACE来做到这一点:
Update dbo.table Set col = replace(col, '_', '');
col您需要操作的列的名称在哪里...
col