Quantcast
Channel: SCN : Discussion List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 5653

HANA Unique constraint Question

$
0
0

I'm trying to import data from a csv file. While I know I cannot have duplicate data in the primary key. I am getting this error in a text column(ACTIVITYCATEGORYTEXT)  and have no idea why. I know I'm getting the error at this text column because all of my primary keys are unique and when I import the data without this column it comes in fine. I need the data in the ACTIVITYCATEGORYTEXT column to be able to be displayed repeatedly. The Previous data in there is repeated so I don't know why it won't let me upload from my csv. Is there somewhere in HANA where the settings for this column can be altered, or does anyone know why I am getting this error? I attached a screenshot. The longer activitytypeid values are sample csv, while the 400 and below is data I inserted via sql.

Unique Constraint error.JPG


Viewing all articles
Browse latest Browse all 5653

Trending Articles