Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: How to use CURRENT_TIMESTAMP function in hdbtable

$
0
0

Hi Yue,

 

You cannot set current_timestamp or now()  as a defaultValue to TIMESTAMP datatype. Infact defaultValue cannot for used for TIMESTAMP datatype. Incase you need the current time then use these functions in your SQL Script

 

Below is the Column Definition that we can use for .hdbtables:

 

struct ColumnDefinition {

string name;

SqlDataType sqlType;

optional bool nullable;

optional bool unique;

optional int32 length;

optional int32 scale;

optional int32 precision;

optional string defaultValue;

optional string comment;

};

 

-Avinash


Viewing all articles
Browse latest Browse all 9165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>