Oracle Char exceeds 255 -


Is it possible to create a table with four (300) in Oracle? I read around and found it

"The length of a chart column has been fixed, when you make the table, you declare any length from 0 to 255 May be. ""

But I found out that CRAR (500) was created with. I have a problem "The field in the data file is more than the maximum length" and the string to insert the length is 499.

Edit: Contents of control file:

  option (leave = 1, errors = 99 99 99, receivers = 61640000, bindsaj = 61640000, rows = 2000) Load data infel 'hour'_04 csv' 'badfile' hours_04.bad 'table ends in xd_hours field ";" '' (Name is four, wydatai date, "yyyy-mm-dd", hour decimal decimal, external letter (500), app four, bell type, work integer externality, subproduct integer external, project integer external, function character, organization  

Well, the length of CHAR in Oracle can be between 1 to 2000 bytes. Maybe you read it

However, if the data has variable length, then you << code> instead of CHAR VARCHAR2 . If the column is smaller than the length, then this length will be filled with the space.

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -