- 4

How to change data-types in sql?

how to change data-types in sql? i want to change 10 into 15. how will be my statement? for example: username varchar(10) returns: username varchar(15)

8th Aug 2018, 10:56 AM
Pau
Pau - avatar
4 ответов
+ 6
alter table tablename alter column username varchar(15) not null
14th Aug 2018, 7:06 AM
Amin Golmahalle
Amin Golmahalle - avatar
0
You can change it in your db
9th Aug 2018, 11:23 PM
DaVenture
0
Hai
16th Aug 2020, 11:30 AM
THANIKAI Vel
0
Python learn good get more coding
16th Aug 2020, 11:30 AM
THANIKAI Vel