on 11-10-2017 12:40 PM
The SAP HANA doc says that CHAR/NCHAR are not "officially supported"... one should use VARCHAR/NVARCHAR instead.
In the context of database migration, when you come from another type of DB, you have to convert all CHAR/NVCHAR columns to VARCHAR/NVARCHAR and you lose the distinction between [N]CHAR and [N]VARCHAR columns.
I would like to store codes like AXB-345 with fixed length into a CHAR(7), not VARCHAR.
Also: You know certainly that CHAR/NCHAR have different blank padding semantics as VARCHAR/NVARCHAR and one may expect such behavior.
Just want to know if there is a plan to support CHAR/NCHAR "officially" in future versions.
Even if the semantics of [N]CHAR would be the same as [N]VARCHAR, one will lose the type distinction regarding database schema definition. When using Oracle, SQL Server, DB2, you can use CHAR and VARCHAR. When moving to SAP HANA, all must be VARCHAR...
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.