摘要:
#commit、rollback用来确保数据库有足够的剩余空间;#commi、rollback只能用于DML操作,即insert、update、delet;#rollback操作撤销上一个commit、rollback之后的事务。 create table test( PROD_ID varchar 阅读全文
posted @ 2016-12-15 19:45
PengYunjing
阅读(363)
评论(0)
推荐(0)
摘要:
完整的创建数据库例子: >create database db_test default character set utf8 collate utf8_general_ci; >use db_test; >CREATE TABLE tb_user( >id INT(10) NOT NULL AUT 阅读全文
posted @ 2016-12-15 00:10
PengYunjing
阅读(73714)
评论(0)
推荐(0)
摘要:
一、【操作规范】1. 如无备注,则表中的第一个id字段一定是主键且为自动增长;2. 如无备注,则数值类型的字段请使用UNSIGNED属性;3. 如无备注,排序字段order_id在程序中默认使用降序排列;4. 如无备注,所有字段都设置NOT NULL,并设置默认值;5. 如无备注,所有的布尔值字段, 阅读全文
posted @ 2016-12-15 00:08
PengYunjing
阅读(5663)
评论(0)
推荐(0)

浙公网安备 33010602011771号