I created a table named items and inserted name as int and provided the length as 255 type by mistake but now i wanted to alter the table structure and run the query as–
ALTER TABLE items
ALTER COLUMN name varchar(255); but it is not altering the table what i need to change in the table.help plz
there are two ways
note: you have to write column name twice
OR
Reference