码迷,mamicode.com
首页 >  
搜索关键字:insert all    ( 36718个结果
[转]主键冲突的话就更新否则插入 (ON DUPLICATE KEY UPDATE )
mysql "ON DUPLICATE KEY UPDATE" 语法如果在INSERT语句末尾指定了ON DUPLICATE KEY UPDATE,并且插入行后会导致在一个UNIQUE索引或PRIMARY KEY中出现重复值,则在出现重复值的行执行UPDATE;如果不会导致唯一值列重复的问题,则插入...
分类:其他好文   时间:2014-07-03 09:34:37    阅读次数:233
linux 下 /bin /sbin 的区别 -- (转)
/bin,/sbin,/usr/bin,/usr/sbin区别/ : this is root directory root 用户根目录/bin : commands in this dir are all system installed user commands 系统的一些指令/sbin: c...
分类:系统相关   时间:2014-07-03 06:29:10    阅读次数:223
Leetcode Path Sum
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.Fo...
分类:其他好文   时间:2014-07-02 22:34:44    阅读次数:318
Leetcode Path Sum II
Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum.For example:Given the below binary tree andsum =...
分类:其他好文   时间:2014-07-02 22:10:42    阅读次数:262
Oracle 学习笔记 19 -- 触发器和包浅析(PL/SQL)
触发器是存放在数据库中的一种特殊类型的子程序。不能被用户直接调用,而是当特定事件或操作发生时由系统自己主动调用执行。触发器不能接受參数。所以执行触发器就叫做触发或点火。Oracle事件指的是数据库的表进行的insert 、update、delete操作或对视图进行类似的操作。触发器是很多关系数据库系...
分类:数据库   时间:2014-07-02 21:42:48    阅读次数:333
SQL语句汇总(二)——数据修改、数据查询
首先创建一张表如下,创建表的方法在上篇介绍过了,这里就不再赘述。添加新数据:INSERT INTO () VALUES ()如:INSERT INTO t_student (student_id,student_name,student_age,student_sex) VALUES (1,'大毛....
分类:数据库   时间:2014-07-01 17:40:43    阅读次数:235
linux下常用命令
1、 在linux下文件复制 scp root@192.168.2.244:/tmp/all_sql.log ./ 把文件从all_sql.log 文件下复制到 ./即当前目录下2、 在linux open ./ open命令即打开某个文件夹
分类:系统相关   时间:2014-07-01 17:22:01    阅读次数:187
PO_PO询价报价单系统分析-请购询价报价(案例)
2014-07-01 BaoXinjian一、摘要询价单与报价管理输入请购单->进行询价->供应商进行报价->对报价单信息分析和approve可通过手工输入询价单,也可通过请购单auto create询价单询价单和报价单都存在在po_headers_all和po_lines_all中,只是类型为RF...
分类:其他好文   时间:2014-07-01 17:12:19    阅读次数:367
usr/bin/mysqladmin: refresh failed; error: 'Unknown error'
debian wheezy 升级后, 因为授权错误, 导致密码给修改, 在debian的mysql safe下也无法进入.   我在/etc/mysql/my.cnf 里面已经修改了bind-address 为局域网ip 进而执行了 GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123456' WITH GRANT OPTI...
分类:数据库   时间:2014-07-01 16:03:03    阅读次数:207
LeetCode——Search Insert Position
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order. You may assume no duplicates in the array....
分类:其他好文   时间:2014-07-01 15:22:44    阅读次数:140
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!