<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-2191510691414981665.post3129147660899148760..comments</id><updated>2011-01-22T14:53:14.168-05:00</updated><category term='ifttt'/><category term='Oracle Application Express'/><category term='plug-ins'/><category term='Super LOV'/><category term='APEX'/><category term='Save Before Exit'/><title type='text'>Comments on Dan McGhan's Oracle Blog: Easy CSV Uploads? - Yes we can!</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.danielmcghan.us/feeds/3129147660899148760/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2191510691414981665/3129147660899148760/comments/default'/><link rel='alternate' type='text/html' href='http://www.danielmcghan.us/2009/02/easy-csv-uploads-yes-we-can.html'/><author><name>Dan McGhan</name><uri>https://profiles.google.com/116126534075611873104</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-gIEjuxNrzdQ/AAAAAAAAAAI/AAAAAAAABnk/KW3oAdcNMvo/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2191510691414981665.post-8815947638969347148</id><published>2009-08-05T10:59:17.140-04:00</published><updated>2009-08-05T10:59:17.140-04:00</updated><title type='text'>Great!  I am sometimes getting an error where the ...</title><content type='html'>Great!  I am sometimes getting an error where the enclosing character at the end of a line is included at the end of the last value....&lt;br /&gt;&lt;br /&gt;I was trying to get my head around your code but it gets a bit complex at this point!   for now maybe I will just deal with this when I select from csv_temp...but if you&amp;#39;ve fixed this...or anything else...I would be very interested.  I am using the code and it&amp;#39;s been a great start! :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2191510691414981665/3129147660899148760/comments/default/8815947638969347148'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2191510691414981665/3129147660899148760/comments/default/8815947638969347148'/><link rel='alternate' type='text/html' href='http://www.danielmcghan.us/2009/02/easy-csv-uploads-yes-we-can.html?showComment=1249484357140#c8815947638969347148' title=''/><author><name>Stirl</name><uri>http://www.blogger.com/profile/09485916734322753245</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.danielmcghan.us/2009/02/easy-csv-uploads-yes-we-can.html' ref='tag:blogger.com,1999:blog-2191510691414981665.post-3129147660899148760' source='http://www.blogger.com/feeds/2191510691414981665/posts/default/3129147660899148760' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1246549131'/></entry><entry><id>tag:blogger.com,1999:blog-2191510691414981665.post-2693104844654587561</id><published>2009-07-14T09:17:08.461-04:00</published><updated>2009-07-14T09:17:08.461-04:00</updated><title type='text'>Stirl,

I have some updated code for this. I&amp;#39;l...</title><content type='html'>Stirl,&lt;br /&gt;&lt;br /&gt;I have some updated code for this. I&amp;#39;ll try to post it this weekend.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Dan</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2191510691414981665/3129147660899148760/comments/default/2693104844654587561'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2191510691414981665/3129147660899148760/comments/default/2693104844654587561'/><link rel='alternate' type='text/html' href='http://www.danielmcghan.us/2009/02/easy-csv-uploads-yes-we-can.html?showComment=1247577428461#c2693104844654587561' title=''/><author><name>dmcghan</name><uri>http://www.blogger.com/profile/13971112000913341546</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://bp1.blogger.com/_oxA5wvdPsRM/SEoL-flMbhI/AAAAAAAAADE/fAW5kUZKww4/S220/daniel_mcghan.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.danielmcghan.us/2009/02/easy-csv-uploads-yes-we-can.html' ref='tag:blogger.com,1999:blog-2191510691414981665.post-3129147660899148760' source='http://www.blogger.com/feeds/2191510691414981665/posts/default/3129147660899148760' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1751895077'/></entry><entry><id>tag:blogger.com,1999:blog-2191510691414981665.post-6629388401786411667</id><published>2009-07-14T02:19:34.950-04:00</published><updated>2009-07-14T02:19:34.950-04:00</updated><title type='text'>might use this myself!</title><content type='html'>might use this myself!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2191510691414981665/3129147660899148760/comments/default/6629388401786411667'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2191510691414981665/3129147660899148760/comments/default/6629388401786411667'/><link rel='alternate' type='text/html' href='http://www.danielmcghan.us/2009/02/easy-csv-uploads-yes-we-can.html?showComment=1247552374950#c6629388401786411667' title=''/><author><name>Stirl</name><uri>http://www.blogger.com/profile/09485916734322753245</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.danielmcghan.us/2009/02/easy-csv-uploads-yes-we-can.html' ref='tag:blogger.com,1999:blog-2191510691414981665.post-3129147660899148760' source='http://www.blogger.com/feeds/2191510691414981665/posts/default/3129147660899148760' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1246549131'/></entry><entry><id>tag:blogger.com,1999:blog-2191510691414981665.post-6107742717100250610</id><published>2009-04-24T07:44:00.000-04:00</published><updated>2009-04-24T07:44:00.000-04:00</updated><title type='text'>Hello,

I like your solution of loading data, but ...</title><content type='html'>Hello,&lt;br /&gt;&lt;br /&gt;I like your solution of loading data, but still got error ORA-06502: PL/SQL: numeric or value error when have some national characters (czech) in the file. Do you have an ideas what should I do to correct this issue pls?&lt;br /&gt;&lt;br /&gt;thanks in advance&lt;br /&gt;Robert, CZ</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2191510691414981665/3129147660899148760/comments/default/6107742717100250610'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2191510691414981665/3129147660899148760/comments/default/6107742717100250610'/><link rel='alternate' type='text/html' href='http://www.danielmcghan.us/2009/02/easy-csv-uploads-yes-we-can.html?showComment=1240573440000#c6107742717100250610' title=''/><author><name>robert</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.danielmcghan.us/2009/02/easy-csv-uploads-yes-we-can.html' ref='tag:blogger.com,1999:blog-2191510691414981665.post-3129147660899148760' source='http://www.blogger.com/feeds/2191510691414981665/posts/default/3129147660899148760' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-126160486'/></entry><entry><id>tag:blogger.com,1999:blog-2191510691414981665.post-3766729278679825688</id><published>2009-03-29T22:00:00.000-04:00</published><updated>2009-03-29T22:00:00.000-04:00</updated><title type='text'>Dan, I built a similar system early 2007 using ext...</title><content type='html'>Dan, I built a similar system early 2007 using external tables, but built the external tables dynamically as I had to handle more than 50 different formats. I had created a' data dictionary' so the admins will be able to define their own structures. Also created was a validation engine that would validate the attributes of a file definition based. For example you could have a file made up of 6 cols, each could be of a different type, size, mandatory, etc. The results of the failure was written to another error structure I had defined. Some of the files has over 150 cols. All of these were in packages and an APEX frontend tied them together. I allowed up to 250 cols and even had an edit screen with dynamic labels (had to work around the 100 col limitation) for simple edits that could be made and the file run through the validation engine. It was a very successful implementation. Of course, I wanted to add tons more features but had to dive into a different project (where I used part of what I built in 07).I have been meaning to package that for APEX community but just could not find time. Hopefully I will be able to find some time to package this and share.&lt;BR/&gt;&lt;BR/&gt;Good luck&lt;BR/&gt;N</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2191510691414981665/3129147660899148760/comments/default/3766729278679825688'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2191510691414981665/3129147660899148760/comments/default/3766729278679825688'/><link rel='alternate' type='text/html' href='http://www.danielmcghan.us/2009/02/easy-csv-uploads-yes-we-can.html?showComment=1238378400000#c3766729278679825688' title=''/><author><name>Neelesh Shah</name><uri>http://www.blogger.com/profile/00197008550447011993</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_X1dlUxpMfgs/SS8tnE4A3CI/AAAAAAAADYw/W638z4pczlw/S220/ns.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.danielmcghan.us/2009/02/easy-csv-uploads-yes-we-can.html' ref='tag:blogger.com,1999:blog-2191510691414981665.post-3129147660899148760' source='http://www.blogger.com/feeds/2191510691414981665/posts/default/3129147660899148760' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1476472389'/></entry><entry><id>tag:blogger.com,1999:blog-2191510691414981665.post-394963972823630844</id><published>2009-02-05T00:20:00.000-05:00</published><updated>2009-02-05T00:20:00.000-05:00</updated><title type='text'>WTF is up with those commas?  Didn't I say that wa...</title><content type='html'>WTF is up with those commas?  Didn't I say that was a no-no?  ;)&lt;BR/&gt;&lt;BR/&gt;External tables are a fine suggestion, however, you can't assume the end user has access to the server.  What if this is part of an app that you've deployed to the business?  Can't very well give them access the the database filesystem can you?&lt;BR/&gt;&lt;BR/&gt;And by "we gave a presentation" you mean I made you do the whole thing?  Or do you mean you ran well over the allotted time not allowing me to participate?  ;)&lt;BR/&gt;&lt;BR/&gt;For those of you that don't know, Dan was the biggest PITA at my very first presenation.  A good one though.  He very easily could have been a jerk yet he wasn't.  He knew far more than I did about some of the internals of APEX (what is this, a LinkedIn recommendation?) and I think we really hit it off.  If only I could get him to stop putting commas at the beginning of lines where they don't belong!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2191510691414981665/3129147660899148760/comments/default/394963972823630844'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2191510691414981665/3129147660899148760/comments/default/394963972823630844'/><link rel='alternate' type='text/html' href='http://www.danielmcghan.us/2009/02/easy-csv-uploads-yes-we-can.html?showComment=1233811200000#c394963972823630844' title=''/><author><name>oraclenerd</name><uri>http://www.blogger.com/profile/12412013306950057961</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='22' height='32' src='http://1.bp.blogspot.com/_rhCtHYLiamQ/SOGeJmRzCuI/AAAAAAAADDQ/WCQfiBMzzzw/S220/chetwithmonitor.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.danielmcghan.us/2009/02/easy-csv-uploads-yes-we-can.html' ref='tag:blogger.com,1999:blog-2191510691414981665.post-3129147660899148760' source='http://www.blogger.com/feeds/2191510691414981665/posts/default/3129147660899148760' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1018497057'/></entry><entry><id>tag:blogger.com,1999:blog-2191510691414981665.post-3683633872493167676</id><published>2009-02-04T14:45:00.000-05:00</published><updated>2009-02-04T14:45:00.000-05:00</updated><title type='text'>Sujay,&lt;br&gt;&lt;br&gt;That's an interesting suggestion I h...</title><content type='html'>Sujay,&lt;BR/&gt;&lt;BR/&gt;That's an interesting suggestion I hadn't considered. Funny because I'm very familiar with external tables... :(&lt;BR/&gt;&lt;BR/&gt;I wonder how flexible it would be though... For example, say you wanted to change the delimiter or enclosure character. That may require dynamic SQL to create the external table definition. &lt;BR/&gt;&lt;BR/&gt;It's worth exploring though. Thanks!&lt;BR/&gt;&lt;BR/&gt;Regards,&lt;BR/&gt;Dan</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2191510691414981665/3129147660899148760/comments/default/3683633872493167676'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2191510691414981665/3129147660899148760/comments/default/3683633872493167676'/><link rel='alternate' type='text/html' href='http://www.danielmcghan.us/2009/02/easy-csv-uploads-yes-we-can.html?showComment=1233776700000#c3683633872493167676' title=''/><author><name>dmcghan</name><uri>http://www.blogger.com/profile/13971112000913341546</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://bp1.blogger.com/_oxA5wvdPsRM/SEoL-flMbhI/AAAAAAAAADE/fAW5kUZKww4/S220/daniel_mcghan.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.danielmcghan.us/2009/02/easy-csv-uploads-yes-we-can.html' ref='tag:blogger.com,1999:blog-2191510691414981665.post-3129147660899148760' source='http://www.blogger.com/feeds/2191510691414981665/posts/default/3129147660899148760' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1751895077'/></entry><entry><id>tag:blogger.com,1999:blog-2191510691414981665.post-4120038697122277829</id><published>2009-02-04T14:12:00.000-05:00</published><updated>2009-02-04T14:12:00.000-05:00</updated><title type='text'>Dan,&lt;br&gt;&lt;br&gt;This seems too complicated, you can al...</title><content type='html'>Dan,&lt;BR/&gt;&lt;BR/&gt;This seems too complicated, you can always use an External table to load csv data. It consists of just 2-3 steps, setting up a directory, granting necessary privileges and then creating the external table mapped to a file. &lt;BR/&gt;&lt;BR/&gt;Check this link for a quick reference:&lt;BR/&gt;&lt;BR/&gt;&lt;A HREF="www.psoug.org/reference/externaltab.html" REL="nofollow"&gt;www.psoug.org/reference/externaltab.htm&lt;/A&gt;&lt;BR/&gt;&lt;BR/&gt;Not sure if external tables are available in Apex or not, haven't thought about the mechanism to integrate with Apex yet, but wanted to point this out.&lt;BR/&gt;&lt;BR/&gt;Thanks&lt;BR/&gt;Sujay</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2191510691414981665/3129147660899148760/comments/default/4120038697122277829'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2191510691414981665/3129147660899148760/comments/default/4120038697122277829'/><link rel='alternate' type='text/html' href='http://www.danielmcghan.us/2009/02/easy-csv-uploads-yes-we-can.html?showComment=1233774720000#c4120038697122277829' title=''/><author><name>Sujay Dutta, PMP</name><uri>http://www.blogger.com/profile/02851895474849752728</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.danielmcghan.us/2009/02/easy-csv-uploads-yes-we-can.html' ref='tag:blogger.com,1999:blog-2191510691414981665.post-3129147660899148760' source='http://www.blogger.com/feeds/2191510691414981665/posts/default/3129147660899148760' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-529249427'/></entry><entry><id>tag:blogger.com,1999:blog-2191510691414981665.post-703400311045148429</id><published>2009-02-04T11:09:00.000-05:00</published><updated>2009-02-04T11:09:00.000-05:00</updated><title type='text'>Anonymous,&lt;br&gt;&lt;br&gt;Could you please send me a file ...</title><content type='html'>Anonymous,&lt;BR/&gt;&lt;BR/&gt;Could you please send me a file that you're having problems with? Chances are it's something small that could be easily fixed.&lt;BR/&gt;&lt;BR/&gt;Regards,&lt;BR/&gt;Dan</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2191510691414981665/3129147660899148760/comments/default/703400311045148429'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2191510691414981665/3129147660899148760/comments/default/703400311045148429'/><link rel='alternate' type='text/html' href='http://www.danielmcghan.us/2009/02/easy-csv-uploads-yes-we-can.html?showComment=1233763740000#c703400311045148429' title=''/><author><name>dmcghan</name><uri>http://www.blogger.com/profile/13971112000913341546</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='29' src='http://bp1.blogger.com/_oxA5wvdPsRM/SEoL-flMbhI/AAAAAAAAADE/fAW5kUZKww4/S220/daniel_mcghan.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.danielmcghan.us/2009/02/easy-csv-uploads-yes-we-can.html' ref='tag:blogger.com,1999:blog-2191510691414981665.post-3129147660899148760' source='http://www.blogger.com/feeds/2191510691414981665/posts/default/3129147660899148760' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1751895077'/></entry><entry><id>tag:blogger.com,1999:blog-2191510691414981665.post-3297350848646491146</id><published>2009-02-04T11:03:00.000-05:00</published><updated>2009-02-04T11:03:00.000-05:00</updated><title type='text'>I tried it with a number of csv files and it was h...</title><content type='html'>I tried it with a number of csv files and it was hit or miss, as you stated this is NOT production ode, but a good starting point..</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2191510691414981665/3129147660899148760/comments/default/3297350848646491146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2191510691414981665/3129147660899148760/comments/default/3297350848646491146'/><link rel='alternate' type='text/html' href='http://www.danielmcghan.us/2009/02/easy-csv-uploads-yes-we-can.html?showComment=1233763380000#c3297350848646491146' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.danielmcghan.us/2009/02/easy-csv-uploads-yes-we-can.html' ref='tag:blogger.com,1999:blog-2191510691414981665.post-3129147660899148760' source='http://www.blogger.com/feeds/2191510691414981665/posts/default/3129147660899148760' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1638796330'/></entry></feed>
