SQL_PLSQL培训.doc

  1. 1、本文档共25页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
SQL_PLSQL培训

SQL PL/SQL语言基础 参考资料 SQL Reference: 语法及函数参考 Error Message : 出错信息 SQL Plus Guide and Reference PL/SQL User’s Guide and Reference Application Developer’s Guide – Fundamentals: 开发ORACLE应用的一般性指导 Supplied PL/SQL Packages Reference:PL/SQL内置Package参考 SQL基础 历史 Dr. E. F. Codd于1970年在ACM(Association Of Computer Mechanism)月刊上发表了A Relational Model of Data for Large Shared Data Banks, 建立了关系模型。1979年, Relational Software, Inc. (现在的Oracle Corporation)发布了第一个SQL商业应用。 标准 SQL-92: Entry, Transitional, Intermediate, and Full Core SQL-99 参见SQL Reference 附录B:Oracle and Standard SQL Basic Elements of Oracle SQL Literals (Text, Integer, Number, Interval) Datatypes Format Models Nulls Pseudocolumns [sju:dou]; Comments Database Objects Schema Object Names and Qualifiers Referring to Schema Objects and Parts Literals The terms literal and constant value are synonymous and refer to a fixed data value. Text ’jack’’s sword’ length 4000 Integer Number 38 digits of precision. Interval specifies a period of time Datatypes Built-in Datatypes User-defined type Built-in Datatypes VARCHAR2 (size) NVARCHAR2 (size) NUMBER (p, s) LONG DATE RAW (size) LONG RAW ROWID UROWID [(size)] CHAR (size) NCHAR (size) CLOB NCLOB BLOB BFILE More information about Oracle datatype, see SQL Reference or Server Application Developer’s Guide ROWID: (extended fmt: OOOOOO-FFF-BBBBBB-RRR; restricted fmt: BBBBBBBB.RRRR.FFFF, use DBMS_ROWID.ROWID_TO_RESTRICTED to make the conversion) Data Conversion Implicit Data Conversion Explicit Data Conversion To get more information about explicit data conversion, see SQL Reference, from 35 ‘Data conversion’ to 53; or see the references of relevant oracle functions. NULL To test for nulls, use only the comparison operators IS NULL and IS NOT NULL. If you use any other operator with nulls and the result depends on the value of the null, the result is UNKNOWN. Pseudocolumns CURRVAL and NEXTVAL LEVEL ROWID ROWNUM Comment Hint The optimizer uses these hints as suggestions for cho

文档评论(0)

xcs88858 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8130065136000003

1亿VIP精品文档

相关文档