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.
Oracleデータベースのvarchar2フィールドに保存されたテーブルに日付があります。
例
2012/6/30 2013/6/30
年を抽出しようとしています。substr 関数を使用する以外に年を抽出するためのアイデアはありますか?
日付に変換し、日付関数を使用して年を取得します。
Oracleで文字列の日付を日時に変換します