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

hdbtable file - is there a way to insert a comment

$
0
0

We're building multiple hdbtable files from an existing schema, but while we are formatting the existing schema dump (1 file), we don't the files split (yet) and the table name is not in the content.   Can we put in a comment of the table name into the hdbtable?    This is what I have as a simple hdbtable file.   I could use the table.description property, but I'd like to use that for a more meaningful description.

 

>>>>> CAN I PUT A COMMENT IN HERE?
table.schemaName = "MEDPORTAL";
table.tableType = COLUMNSTORE;  
table.description = "Users";
table.columns = [           {name = "ID"; sqlType = INTEGER; nullable = false;   comment = "Portal User ID"; },          {name = "PARTY_TYPE_ID"; sqlType = INTEGER; nullable = false;  comment = ""; },          {name = "LOGIN_NAME"; sqlType = NVARCHAR; nullable = false; length = 30; comment = ""; },          {name = "PASSWORD"; sqlType = NVARCHAR; nullable = false; length = 30; comment = ""; },          {name = "IS_ACTIVE_USER"; sqlType = INTEGER; nullable = false; comment = ""; },           {name = "CREATED_ON"; sqlType = TIMESTAMP; comment = "Create timestamp"; },          {name = "UPDATED_ON"; sqlType = TIMESTAMP; comment = "Update timestamp"; }           
 ]; 
table.primaryKey.pkcolumns = ["ID"];

Viewing all articles
Browse latest Browse all 9165

Trending Articles



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