Search
 
SCRIPT & CODE EXAMPLE
 

SQL

SQL Modify Column in a Table -MySQL

ALTER TABLE Customers
MODIFY COLUMN age VARCHAR(2);
Comment

update column mysql with alter

ALTER TABLE table_name
  MODIFY column_name column_definition
    [ FIRST | AFTER column_name ];
Comment

change column in mysql

#Alter is used
#alter table TableName change CurrentColumnName NewColumnName Specification(size);
alter table TableName change name firstname varchar(30);
Comment

PREVIOUS NEXT
Code Example
Sql :: vbscript connect mssql 
Sql :: apex set debug level 
Sql :: how to change a column name in postgresql 
Sql :: select nextval from sequence sql 
Sql :: create table in microsoft sql server 
Sql :: run mysql file in terminal 
Sql :: phpmyadmin password root 
Sql :: create stored procedure 
Sql :: alter table id autoincrement 
Sql :: mysql clear screen 
Sql :: avg mysql 
Sql :: ascending order mysql 
Sql :: pl/sql procedure example 
Sql :: postgres list databases 
Sql :: sql create view 
Sql :: write pandas dataframe to postgresql table psycopg2 
Sql :: read all columns of a table sql 
Sql :: sql any 
Sql :: oracle apex warn on unsaved changes 
Sql :: sql delete all values in a column 
Sql :: CONVERT time string into 12 hours in sql 
Sql :: get data every 30 days in sql 
Sql :: rename table name 
Sql :: mysql get last inserted id 
Sql :: mssql dockere 
Sql :: import sql dump into postgresql database 
Sql :: change user mysql password 
Sql :: alter table myisam to innodb 
Sql :: sort by mysql 
Sql :: how to change db owner postgres 
ADD CONTENT
Topic
Content
Source link
Name
8+6 =