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.
我有下表:
我想删除 p_path 中的所有条目并删除“~\”
UPDATE dbo.picture SET p_path = SUBSTRING(p_path, 3, 4000) WHERE p_path LIKE '~/%';
尝试这个
select replace(p_path,'~\','') as CutPath from table