Language Test in Postgresql data types CHAR and VARCHAR
Problem: I got a doubt like, Oracle and SQL Server has VARCHAR and NVARCHAR data types to store the native language (i.e. language that is selected while doing the installation) and foreign language characters. So, how postgresql is going to handle this situation.Because it don't have any NVARCHAR or NCHAR data types.
Solution: To check this i have created a table with 2 fields. 1 is CHAR and 1 is VARCHAR. Tried to insert the Korean text, Spanish text and Telugu text. All these rows were inserted successfully into the column of types CHAR and VARCHAR. Below is the screen shot for the proof.
Solution: To check this i have created a table with 2 fields. 1 is CHAR and 1 is VARCHAR. Tried to insert the Korean text, Spanish text and Telugu text. All these rows were inserted successfully into the column of types CHAR and VARCHAR. Below is the screen shot for the proof.
Comments
Post a Comment