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.
同じ桁数の ISBN に対して 000-0-0000-0000-0 の形式で ISBN を MySQL データベースにクエリする方法を教えてください。ただし、ダッシュはありません。私が使用できるSQL正規表現置換メソッドはありますか? どんな提案でも大歓迎です。
正規表現はまったく必要ありません。次のようなものを使用してください:
select t.* from t where replace(t.ISBN, '-', '') = @MyISBN;