I found the error. It turned out that I did not set the character encoding in the text fromatting in the Format when modeling and generating the database in PowerDesigner. I set it to utf-8 and regenerated the SQL to import the database successfully. Reference: http://blog.csdn.net/qdzeac/a...
Is the database character set correct?
Is the data type specified by your dept_name a string type?
I found the error. It turned out that I did not set the character encoding in the text fromatting in the Format when modeling and generating the database in PowerDesigner. I set it to utf-8 and regenerated the SQL to import the database successfully.
Reference: http://blog.csdn.net/qdzeac/a...