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.
'updated'フィールドでタイムスタンプを使用しました。新しいフィールドが作成または更新されるたびに、現在のタイムスタンプを取得する必要があります。フィールドを作成した後、作成時に''のみを渡したにもかかわらず、00-0000:00:00を取得します。どうすれば修正できますか?
updated timestamp on update CURRENT_TIMESTAMP
null挿入ステートメントを渡します
null
SQLFiddleの例