mysql / alter

the MySQL command-line tool

copy
412
86
ALTER TABLE tbl AUTO_INCREMENT = 100;

details |

copy
260
31
select * from siteExampleCmds where parentID=1 and example like '%alter%'

details |

copy
245
21
ALTER TABLE CountryLanguage ENGINE=NDBCLUSTER;Set the Engine type to NDBCLUSTER on table CountryLanguage

details |

copy
225
50
ALTER TABLE tt MODIFY ActualPC VARCHAR(15);

details |

copy
209
18
ALTER TABLE orig_name RENAME new_name;

details |

copy
197
21
ALTER TABLE Country ENGINE=NDBCLUSTER;

details |

copy
166
16
ALTER TABLE tt MODIFY AssignedPC VARCHAR(15), MODIFY ClientID VARCHAR(15);

details |

copy
194
21
ALTER TABLE City ENGINE=NDBCLUSTER;

details |

copy
170
18
ALTER VIEW v AS SELECT * FROM t;

details |

copy
182
17
ALTER TABLE t1 MODIFY b CHAR;Modify the table t1 set the column b to type CHAR

details |

copy
159
8
ALTER TABLE myTable AUTO_INCREMENT = 4;Set the auto increment to 4 on table my table

details |

copy
131
10
ALTER TABLE new_table RENAME old_table;

details |