BLOB (binary large object),二进制大对象,是一个可以存储二进制文件的容器。可以用于存储图片等信息Demo1:存储图片 1 String sql="INSERT INTO TestBlob(NAME,headImagfe) VALUES (?,?)"; ...
分类:
数据库 时间:
2014-11-15 00:08:41
阅读次数:
277
drop table test purge;
create table test(
id number,
code varchar(20),
name varchar(20)
);
insert into test values(1,'201401','aaa');
insert into test values(2,'201402','b...
分类:
数据库 时间:
2014-11-14 21:17:15
阅读次数:
173
原文: mysql 基础之CURD 增删改查基本语法学习 增:insert
Insert3问:
1:插入哪张表?
2:插入哪几列?
3:这几列分别插入什么值? InsertintoTableName
(列1,列2....列n)
Values
(值1,值2,....值n) 值与列,按顺序,一一对应 特...
分类:
数据库 时间:
2014-11-14 19:19:40
阅读次数:
317
原文: Mysql高级之触发器 触发器是一类特殊的事务 ,可以监视某种数据操作(insert/update/delete),并触发相关操作(insert/update/delete)。 看以下事件: 完成下单与减少库存的逻辑
Insertintoo(gid,num)values(2,3);//插入语...
分类:
数据库 时间:
2014-11-14 19:17:01
阅读次数:
170
Binary Tree Postorder TraversalGiven a binary tree, return thepostordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \...
分类:
其他好文 时间:
2014-11-14 17:41:15
阅读次数:
183
Binary Tree Preorder TraversalGiven a binary tree, return thepreordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ ...
分类:
其他好文 时间:
2014-11-14 17:34:30
阅读次数:
151
1、将MainActivity以对话框的形式显示,首先在AndroidManifest.xml 文件中,申明 activity 的主题使用自定义对话框样式。 2、res/values/styles.xml 样式文件中定义一个对话框主题样式,这里继承了 android:style/Theme.Dial...
分类:
移动开发 时间:
2014-11-14 00:01:28
阅读次数:
257
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-11-13 22:21:29
阅读次数:
215
插入数据行INSERT [INTO] [列名] VALUES INSERT INTO Students (SName,SAddress,SGrade,SEmail,SSEX)VALUES ('张青裁','上海松江',6,'ZQC@Sohu.com',0)注意事项:1: 每次插入一行数据,不可...
分类:
数据库 时间:
2014-11-13 18:10:32
阅读次数:
185
Oracle数据库常用sql语句ORACLE 常用的SQL语法和数据对象一.数据控制语句 (DML) 部分1.INSERT (往数据表里插入记录的语句)INSERT INTO 表名(字段名1, 字段名2, ……) VALUES ( 值1, 值2, ……);INSERT INTO 表名(字段名1, ....
分类:
数据库 时间:
2014-11-13 14:34:49
阅读次数:
303