- 4
- 0
- 约4.32万字
- 约 50页
- 2021-03-17 发布于北京
- 举报
Manipulating Large Objects Objectives After completing this lesson, you should be able to do the following: Compare and contrast LONG and large object (LOB) data types Create and maintain LOB data types Differentiate between internal and external LOBs Use the DBMS_LOB PL/SQL package Describe the use of temporary LOBs Lesson Agenda Introduction to LOBs Managing BFILEs by using the DBMS_LOB package Migrating LONG data types to LOBs Manipulating LOB data Using temporary LOBs What Is a LOB? LOBs are used to store large, unstructured data such as text, graphic images, films, and sound waveforms. Contrasting LONG and LOB Data Types Components of a LOB The LOB column stores a locator to the LOB’s value. Internal LOBs The LOB value is stored in the database. Managing Internal LOBs To interact fully with LOB, file-like interfaces are provided in: PL/SQL package DBMS_LOB Oracle Call Interface (OCI) Oracle Objects for object linking and embedding (OLE) Pro*C/C++ and Pro*COBOL precompilers Java Database Connectivity (JDBC) The Oracle server provides some support for LOB management through SQL. Lesson Agenda Introduction to LOBs Managing BFILEs by using the DBMS_LOB package Migrating LONG data types to LOBs Manipulating LOB data Using temporary LOBs What Are BFILEs? The BFILE data type supports an external or file-based large object as: Attributes in an object type Column values in a table Securing BFILEs What Is a DIRECTORY? Guidelines for CreatingDIRECTORY Objects Do not create DIRECTORY objects on paths with database files. Limit the number of people who are given the following system privileges: CREATE ANY DIRECTORY DROP ANY DIRECTORY All DIRECTORY objects are owned by SYS. Create directory paths and properly set permissions before using the DIRECTORY object so that the Oracle server can read the file. Using the DBMS_LOB Package Working with LOBs often requires the use of the Oracle-supplied DBMS_LOB package. DBMS_LOB provides routines to access and manipulate internal
您可能关注的文档
- 09满分计划_之力学和电学深化拓展c3-ph-10-h-08-rh.pdf
- wm_removed_19-2h310000动力和发电设备安装技术2.pdf
- 新大陆终端gp730 pc下载说明.pptx
- 5学习笔记01学习重点笔记.pdf
- 8金衢丽片区浙江省金华市义乌市义乌市赤岸镇政府东侧地块项目决策意见表申请授权版.pdf
- suc4000行研报告教育-1.pdf
- 高等数学_大纲考点全解2021大纲全考点教材.pdf
- 37医保及物价管理系统-用户上线报告.pdf
- 02-tcp协议如何保证页面文件能被完整送达浏览器_for_vip_user_001.pdf
- 2019咨询-宏观经济政策与发展规划-精讲班-29、第六章产业政策一.pdf
原创力文档

文档评论(0)