Ritika

MySQL increase VARCHAR size of column without breaking existing data

This article will see how to increase the size of a VARCHAR datatype column for a MySQL table. Also, we will ensure that we do not lose or break the column’s existing data. Table of Content Syntax ALTER statement MODIFY to increase column size ALTER statement CHANGE to increase column size Let us get started

MySQL increase VARCHAR size of column without breaking existing data Read More »

MySQL: change column type to VARCHAR without losing data

This article will see how to convert the column type to VARCHAR without losing the data. Table of Contents: Change column type to VARCHAR without losing data : MODIFY clause Change column type to VARCHAR without losing data : CHANGE clause We will get started by creating a sample table student_enroll_data. Let us insert some

MySQL: change column type to VARCHAR without losing data Read More »

MySQL: Error 1264 Out of range value for a column [Solved]

In this article, we will discuss why Error 1264 occurs and how to resolve it.  Table of Contents Introduction Error code 1264. out of range value for column at row 1 Error code 1264. out of range value for column decimal Introduction MySQL server throws the error 1264 if the MySQL query or statement stores a value

MySQL: Error 1264 Out of range value for a column [Solved] Read More »

Scroll to Top