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.
英語と中国語の両方で部品名を含む列があります。
例えば「座金付きネジ-玻璃板ネジ丝」
SQL Server でその文字列から中国語の名前を抽出するにはどうすればよいですか? それは可能ですか?
ご協力ありがとうございました。
中国語は常に最後にあると仮定します
DECLARE @orig nvarchar(100) = N'Screw with washer-玻璃板螺丝' SELECT REPLACE(@orig, REPLACE(CAST(@orig AS varchar(100)), '?', ''), '')