My Oracle Support Banner

DEFAULT Current_timestamp() On A VIEW - Omitted Column Takes A 'zero' Value (Doc ID 2335355.1)

Last updated on MARCH 18, 2019

Applies to:

MySQL Server - Version 5.7 and later
Information in this document applies to any platform.


Why zero values are inserted on a column if we omit it from the insert statement on the view which has default as current_timestamp() where as inserting directly on the table by omitting the column takes correct time stamp ?


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.