Data issue regarding Length and Copying the same data
Hi
I have created the following table and got the following errors
Create table tab1(col1 varchar(30)) ;
And tried inserting the following data
insert into tab1(col1) values('¿Cómo se llama usted?123456789');
It showed the following error
ERROR 4800: String of 33 octets is too long for type Varchar(30)
When tried calculating the length of the string using the
select length('¿Cómo se llama usted?123456789'); the value it returned is 30
Note: There are special characters in my string that i have entered and they are valid for UTF8 encoding
Can someone help
I have created the following table and got the following errors
Create table tab1(col1 varchar(30)) ;
And tried inserting the following data
insert into tab1(col1) values('¿Cómo se llama usted?123456789');
It showed the following error
ERROR 4800: String of 33 octets is too long for type Varchar(30)
When tried calculating the length of the string using the
select length('¿Cómo se llama usted?123456789'); the value it returned is 30
Note: There are special characters in my string that i have entered and they are valid for UTF8 encoding
Can someone help
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.