All articles| All Pictures| All Softwares| All Video| Go home page| Write articles| Upload pictures

Reading number is top 10 articles
关于PHP字符集的问题_php资料_编程技术
Ajax核心:XMLHTTP组件相关技术资料_[AJAX教程]
网页申请表单用户体验设计简述_[Html教程]
SQL,Server,2005数据库产品线的扩展_[SQL,Server教程]
C#教程:C#调用动态链接库
将Asp.net从VS2003以及VS2002工程转换为VS2005工程的简单方法_[Asp.Net教程]
支付宝接口(刚完成,应该是目前最好的了)_.net资料_编程技术
PHP实例:一个比较完善的购物车类_[PHP教程]
.NET,3.x新特性之Lambda表达式_.net资料_编程技术
ASP.NET编程精选25种函数源程序_[Asp.Net教程]
Reading number is top 10 pictures
男人巳快沦落成动物了
NeedWallpaper8
分手的感悟
Go to the national museum1
深圳的风光
南昌铁路局宜春车务段攸县车站铁路职工福利房被开发商侵占
Steal to eat bacon bird
农夫山泉变身记
Ashlynn Brooke a group sexy photo3
ashlynn brooke
Download software ranking
Unix video tutorial13
打鸟视频
C++编程教程第三版
Tram sex maniac 2 (H) rar bag8
天龙八部十二宫服务端
传奇私服架设教程
天龙八部最新服务端
C#与.NET技术平台实战演练
I for your crazy
实战黑客不求人
归海一刀 published in(发表于) 2014/2/17 7:12:44 Edit(编辑)
10条PHP中用的mysql语句_[PHP教程]

10条PHP中用的mysql语句_[PHP教程]

10条PHP中用的mysql语句_[PHP教程]
10条PHP中用的mysql语句


显示数据库或表:
show databases;//然后可以use database_name;
show tables;
更改表名:
alter table table_name rename new_t;
添加列 :
alter table table_name add column c_n column attributes;
删除列:
alter table table_name drop column c_n;
创建索引:
alter table c_table add index (c_n1,c_n2);
alter table c_table add unique index_name(c_n);
alter table c_table add primary key(sid);
删除索引:
alter table c_table drop index c_n1;
更改列信息:
alter table t_table change c_1 c_1 varchar(200);
alter table t_table modify 1 c_1 varchar(200);
insert插入语句:
insert into table_name (c_1,c_2)
values (’x1’,1);
update语句:
update table_name set c_1 =1 where c_2=3;
删除数据库或者表:
drop table table_name;
drop database database_name;//使用mysql_drop_db()可以删除的.




添加到del.icio.us 添加到新浪ViVi 添加到百度搜藏 添加到POCO网摘 添加到天天网摘365Key 添加到和讯网摘 添加到天极网摘 添加到黑米书签 添加到QQ书签 添加到雅虎收藏 添加到奇客发现 diigo it 添加到饭否 添加到飞豆订阅 添加到抓虾收藏 添加到鲜果订阅 digg it 貼到funP 添加到有道阅读 Live Favorites 添加到Newsvine 打印本页 用Email发送本页 在Facebook上分享


Disclaimer Privacy Policy About us Site Map

If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.