In the below example, we have used the current timestamp as the default value in the student table. Use the current timestamp in the column as the default value: We did not use () because we have not defined the precision value in the example below. In the below example, we have not used precision value with the current timestamp. We have used five fractional seconds to define the current timestamp.Ĭurrent timestamp without using precision value: In the below example, we have used a precision value of 5 with the current timestamp. The below example shows that we do not need to use () when we have not used the precision parameter: If we have used () without a precision parameter, it will show a syntax error.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |