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.
サイズ 10 の varchar 列に収まる文字列として現在の日付を格納するスキーマを設定したいと思います。ただし、CURDATE() は日付型として返されます。これを文字列に変換しますか?
参考までに、私は MonetDB を使用しており、以下のように列を宣言していますが、テーブルを作成するときに何らかの方法で CURDATE をキャストできますか?
tdate varchar(10) default CURDATE() ,