- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
oracle 基本语法(Oracle基本语法)
oracle 基本语法(Oracle基本语法)
Do not use plsqldev tools, operating SQL directly in SQL Plus, each of the different operating styles, and may give you more intuitive feeling...
Excerpt five:
Summary
Through an example, a comprehensive and in-depth analysis of the ORALCE basic data types and their storage. ORACLE 10G, the new data type ORALCE 10g is introduced. Let you have a new understanding of the Oracle data type. Reveal the secrets and ignored the blind spot. Starting from the practical angle and optimization, discusses the characteristics of each data type. From here the Oracle trip!
The first part of the character type
Section 1.1 char
Fixed length string, will use a space to fill to its maximum length, the length of 2000 bytes.
1. a new test table test_char., only one column of type char. The length is 10
SQL create table test_char (colA char (10));
Table created
2. to insert some data in this table.
SQL insert into test_char values (a);
1 row inserted
SQL insert into test_char values (aa);
1 row inserted
SQL insert into test_char values (aaa);
1 row inserted
SQL insert into test_char values (aaaa);
1 row inserted
SQL insert into test_char values (aaaaaaaaaa);
1 row inserted
Note: only 10 bytes inserted. It is not wrong.
SQL insert into test_char values (aaaaaaaaaaa);
Insert into test_char values (aaaaaaaaaaa)
ORA-12899: value too large for column PUB_TEST. TEST_CHAR. COLA (actual: 11, maximum: 10)
3. dump function can be used to view the internal structure of each line number.
SQL select colA, dump from test_char (colA);
COLA DUMP (COLA)
------------------------------------------------------------------------------------------
A Typ=96 Len=10: 97,32,32,32,32,32,32,32,32,32
AA Typ=96 Len=10: 97,97,32,32,32,32,32,32,32,32
AAA Typ=96 Len=10: 97,97,97,32,32,32,32,32,32,32
AAAA Typ=96 Len=10: 97,97,97,97,32,32,32,32,32,32
Aaaaaaaaaa Typ=96 Len=10: 97,97,97,97,97,97,97,97,97,97
Note: the Typ=96 data type ID. Oracle for each data type is numbered. Char type number is 96.
您可能关注的文档
- fm2012 新训练系统的详细攻略与使用心得(Detailed strategy and experience the new fm2012 training system).doc
- flash10使用rtmfp 开发点对点p2p应用(Flash10 developed using rtmfp peer-to-peer applications P2P).doc
- fm24c512驱动(Fm24c512 driver).doc
- excel的中宏从入门到精通(Excel - from entry to the master).doc
- e是无理数的证明方法(E is a method of proof of an irrational number).doc
- for的语法上下(The syntax of for on).doc
- for高中物理方法(For method of high school physics).doc
- foxmial使用文档(Foxmial use of documents).doc
- freemark语法(提示语法).doc
- fsc常用英文词汇(FSC commonly used English vocabulary).doc
- oracle 日志分析工具使用说明logmnr(Oracle log analysis tools use LOGMNR).doc
- oracle中to_date格式 to_date格式(The to_date format of to_date Oracle).doc
- oracle中使用logminer分析日志(Oracle used in logminer log analysis).doc
- oracle克隆安装(oracle克隆安装).doc
- oracle官方文档如何学习(Oracle official documents how to learn).doc
- oracle控制台服务找不到问题解决(The Oracle console service can not find the problem).doc
- oracle数据库plsql的分析函数(The analysis function of Oracle PLSQL database).doc
- oracle10演示测试程序源码(Oracle10 demo test program source code).doc
- oracle查询语法大全(Oracle query syntax Daquan).doc
- oracle日期数据格式(Oracle date format).doc
最近下载
- 高频电子线路课程设计石英晶体振荡器电路设计.doc VIP
- 烟草 打击物流寄递渠道涉烟违法犯罪活动专项行动实施方案.docx VIP
- 人教版八年级物理全册课件(共464张课件).ppt VIP
- 纪念中国人民抗日战争抗战胜利80周年暨世界反法西斯战争胜利80周年.pptx
- 设置安全生产管理机构和配备专职安全生产管理人员的文件74923.pdf VIP
- 《福建省蒸压加气混凝土砌块(板)应用技术规程》.pdf VIP
- 人教版小学劳动三年级上册全册教学课件.pptx
- 人教版二年级上册数学全册教学设计(配2025年秋新版教材).docx
- 燃气管道泄漏流量的计算.pdf VIP
- 2025-2026学年小学信息技术(信息科技)五年级上册重大版(2023)教学设计合集.docx
文档评论(0)