《MySQL常用命令1 / 29 MySQL 常用命令汇总 http://www.database8.com 2011-3-1 2 / 29 Mysql 常用命令 show databases; 显示数据库 create database name; 创建数据库 use databasename; 选择数据库 drop database name 直接删除数据库,不提醒 show tables; 显示表 describe tablename; 显示具体的表结构 select 中加上 disti
1.为数据表添加一个新字段
Alter TABLE [dbo].[CustomerBackupConfig] Add [Stamp] [timestamp] NULL
GO
2.为数据表添加两个新字段
Alter Table tblStates Add [TaxRate] money not null default 0,
[Transit] int not null default 0
GO
3.为数据表删除一个字段
Alter Table [d