Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Problem by creating table in the SHC Web-based Development Workbench

$
0
0

Dear all,

 

I'm facing an error by creating a new table with a file within a XS app.

 

file name: new.hdbtable

table.schemaName = "NEO_xxxxxxxxxxxxxxxxxxxxx";

table.tableType = COLUMNSTORE;

table.columns = [

    {name = "id"; sqlType = INTEGER; nullable = false;},

    {name = "text"; sqlType = SHORTTEXT;}

];

table.primaryKey.pkcolumns = ["id"];

 

The given message:

Error while activating:

Repository: Internal error during statement execution, please see the database error traces for additional details;sql syntax error: incorrect syntax near "NULL": line 1 col 112 (at pos 112) at qp_gram.y:40123,ALTER TABLE "NEO_xxxxxxxxxxxxx"."s000xxxxxxxxxxtrial.xxxxxxxx.new.data::new" ADD ("text" SHORTTEXT NULL)


SHORTTEXT is allowed column type, but I'm still receiving the message. As soon as I change the type to TEXT the table is successfully activated.

 

Is there any specific reason for this?

 

Thanks & Regards,

Martin


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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