摘要:
--创建测试表create table test1 ( tid int primary key, tname varchar2(20), tcontent clob )create sequence sequ_test1--插入数据 insert into test1 values (sequ_test1.nextval,'第一个文件','heheh')--使用系统内部的文件读写函数。--1. 创建一个Oracle能够管理的磁盘目录(Oracle系统中存放的系统数据全都都是大写形式)create or replace directory test_dir as 阅读全文
posted @ 2013-01-23 18:52
珊娃子。
阅读(294)
评论(0)
推荐(0)
摘要:
--创建一张测试表create table test2( tid int primary key, tname varchar2(20), tcontent blob --数据类型为blob)--创建普通序列号create sequence sequ_test2--写入图片declaretempimg blob;--定义临时变量存放数据 tempdir bfile := bfilename('TEST_DIR','Koala.jpg');--非常重要:所有数据都是大写存放的begin insert into test2 values (sequ_test2.ne 阅读全文
posted @ 2013-01-23 18:32
珊娃子。
阅读(506)
评论(0)
推荐(0)

浙公网安备 33010602011771号