|
3#
楼主 |
发表于 2012-6-5 18:25:07
|
只看该作者
CREATE TABLE `T_Phonebook` (
`username` VARCHAR(64) NOT NULL,
`contactPhone` VARCHAR(32) NOT NULL,
`contactName` VARCHAR(64) DEFAULT NULL,
`createTime` CHAR(15) NOT NULL,
`countryCode` VARCHAR(8) DEFAULT NULL,
`id` BIGINT(20) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`,`username`),
KEY `T_Phonebook_contactphone_idx` (`contactPhone`),
KEY `T_Phonebook_username_idx` (`username`)
) ENGINE=INNODB DEFAULT CHARSET=utf8
INSERT INTO T_Phonebook (username,contactphone,contactName,createTime,countryCode) VALUES (?,?,?,?,?) |
|