码迷,mamicode.com
首页 >  
搜索关键字:update..    ( 16768个结果)
ON DUPLICATE KEY UPDATE用法
INSERT INTO `books `(`name`,`count`,`num`)VALUES ('windows','1','2'),('','linux','1','3')ON DUPLICATE KEY UPDATE `count` = `count` + VALUES(`COUNT`), ...
分类:其他好文   时间:2014-10-29 01:50:13    阅读次数:143
Ubuntu安装Apache
在虚拟机上安装了Ubuntu13.10 ,然后使用命令sudo apt-get install apache2 安装apache总提示“E: 未找到软件包...”,不知所踪,这可能是新手容易的犯 的小错误,网上查找一番后解决掉sudo apt-get update“获得最近的软件包的列表;...
分类:Web程序   时间:2014-10-29 00:04:39    阅读次数:199
插入一条记录并获取自增的id
Connection connection = (Connection) dbcp.getConn(); int affectRows = qr.update(connection, sql,params); BigInteger id =...
分类:其他好文   时间:2014-10-28 23:43:25    阅读次数:360
http://mozilla.debian.net/
deb http://mozilla.debian.net/ wheezy-backports iceweasel-releaseYou can install it with the following commands:$ apt-get update$ apt-get install -t w...
分类:Web程序   时间:2014-10-28 17:09:49    阅读次数:156
我在Repository类中命名方法的习惯
常见的crud方法签名使用以下几个: Attach get(Integer attachId); Attach save(Attach attach)或Integer save(Attach attach); void delete(Integer attachId); void update(At...
分类:其他好文   时间:2014-10-28 11:55:30    阅读次数:368
笔记 CVS
CVS中的基本术语: Repository,Module,Import,Checkout,Commit,Update,Revision,Release,TagRepository:仓库仓库是CVS服务器的根目录,所有的工作都将保存在这个仓库中,包括源代码和这些代码的全部历史。仓库中有许多“木桶”,....
分类:其他好文   时间:2014-10-28 02:02:56    阅读次数:208
A Tour of Go Mutating Maps
Insert or update an element in mapm:m[key] = elemRetrieve an element:elem = m[key]Delete an element:delete(m, key)Test that a key is present with a tw...
分类:其他好文   时间:2014-10-28 00:39:53    阅读次数:243
Oracle笔记 九、PL/SQL 游标的使用
--演示隐式游标,系统自动声明,自动打开,自动使用并且自动关闭begin update emp set sal = 1000; dbms_output.put_line('影响的行数:' || sql%rowcount);end; rollback; /*游标的使用方法:第一步:声明游标第二步:打开...
分类:数据库   时间:2014-10-28 00:34:19    阅读次数:245
Oracle笔记 十、PL/SQL存储过程
--create or replace 创建或替换,如果存在就替换,不存在就创建create or replace procedure pis cursor c is select * from dept2 for update;begin for row_record in c loop if (...
分类:数据库   时间:2014-10-28 00:29:31    阅读次数:268
How to add alias on Mac(It's common for most system)
Since these files are hidden you will have to do anls -ato list them. If you don't have one you can create one.Update:If I remember correctly, when I ...
分类:系统相关   时间:2014-10-27 22:44:09    阅读次数:353
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!