- 1、本文档共9页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
ADF11g从Excel导入到Table
ADF 11g : Import From Excel Into an ADF Table
ADF 11g provides an “export to excel” feature that allows you to take data from an ADF table into an excel sheet. But what about the other way around. Sometimes you need to work with excel sheets or comma separated values, and load the content of such a file into a database table. You could use the external table feature of the Oracle Database for that, or you just use any tool to load the csv contents into a database table. The use case I have is that the data in the csv needs to be validated and changed before it is committed into the database. In this post I show you how to load the csv contents into an ADF table component so you can edit the data before committing
Setting up the application
This post is based on a simple table and on a simple csv file. The Staff table definition is here:
HYPERLINK http://technology.amis.nl/blog/8418/adf-11g-import-from-excel-into-an-adf-table \l viewSource \o view source view source
HYPERLINK http://technology.amis.nl/blog/8418/adf-11g-import-from-excel-into-an-adf-table \l printSource \o print print HYPERLINK http://technology.amis.nl/blog/8418/adf-11g-import-from-excel-into-an-adf-table \l about \o ? ?
1CREATE TABLE ALS_STAFF 2??(
3????ID??????????? NUMBER(3,0), 4????FIRST_NAME??? VARCHAR2(20 BYTE),
5????LAST_NAME???? VARCHAR2(30 BYTE), 6????EMAIL_ADDRESS VARCHAR2(100 BYTE),
7????CONSTRAINT ALS_STF_PK PRIMARY KEY (ID) ENABLE 8??)And the csv file
HYPERLINK http://technology.amis.nl/blog/8418/adf-11g-import-from-excel-into-an-adf-table \l viewSource \o view source view source
HYPERLINK http://technology.amis.nl/blog/8418/adf-11g-import-from-excel-into-an-adf-table \l printSource \o print print HYPERLINK http://technology.amis.nl/blog/8418/adf-11g-import-from-excel-into-an-adf-table \l about \o ? ?
1ID,FRST_NAME, LAST_NAME,EMAIL 2100,Peter,Jones,testmail@
3101,John,Janssen,a-testmail@ 4102,Thomas,Higgins,b-testmail@
5
您可能关注的文档
- 夏季热应激及防治.doc
- 必修4第一章三角函数复习精选.doc
- 徐州市2010~2011学年度高三第三次质量检测数学.doc
- 中考物理复习课件—压强与浮力.ppt
- 2012年中考质量和密度专题复习学案.doc
- 弧、弦、角圆心.doc
- 自营与第三方.doc
- 2011年5月CIPS考前复习资料——采购环境.ppt
- GAYANAHNG论文.doc
- 激光的特性Laser.ppt
- 道德与法治四年级上册练习测试题带答案【满分必刷】 .pdf
- 部编版六年级小升初语文试卷(附答案解析) .pdf
- 部编版三年级语文上册第17课《古诗三首》优秀教案 .pdf
- 部编版一年级道德与法制第三单元第10课《吃饭有讲究》教案 .pdf
- 部编版三年级上册语文第一单元第3课《不懂就要问》同步测试A卷.pdf
- 部编版一年级道德与法治上册《我认识您了》说课稿 .pdf
- 部编版三年级上册语文第一单元第2课《花的学校》同步练习A卷 .pdf
- 部编版一年级《道德与法治》下册第16课《大家一起来》优质教案优选x.pdf
- 建筑工程分包服务商合同.docx
- 部编版一年级上册小学道德与法治4《上学路上》教案 .pdf
最近下载
- 人教版初中英语课标版 九年级第十单元Section A 3a—3c(21张).pptx
- 中小企业融资-全套PPT课件.pptx
- 2024年麻醉、精神药品规范化管理与使用培训考核有答案.docx
- 【基恩士】LR-W500(C) 使用说明书 (简体中文).pdf
- 11第十一章-通货膨胀与通货紧缩(货币金融学(蒋先玲编著)第3版ppt课件可编辑).pptx
- 人美版八年级上册美术教案.pdf VIP
- 工科基础物理学(下册)课后习题答案董科,周雨青,张玉萍高等教育出版社.pdf
- Unit 6 A Day in the Life (Period 1)课件-人教版英语七年级上册(2024).pptx VIP
- 光伏支架及光伏组件安装工程施工方案.docx VIP
- 曲安奈德局部封闭治疗.pptx VIP
文档评论(0)