{"id":14735,"date":"2025-03-14T08:22:35","date_gmt":"2025-03-14T08:22:35","guid":{"rendered":"http:\/\/www.withdata.com\/blog\/?p=14735"},"modified":"2025-03-14T09:22:35","modified_gmt":"2025-03-14T09:22:35","slug":"append-csv-data-to-oracle-table-via-command-line-on-linux","status":"publish","type":"post","link":"https:\/\/www.withdata.com\/blog\/ora-cmd\/append-csv-data-to-oracle-table-via-command-line-on-linux.html","title":{"rendered":"Append CSV data to Oracle table via command line on Linux"},"content":{"rendered":"<p>Want to append the data from  <a href=\"https:\/\/en.wikipedia.org\/wiki\/Comma-separated_values\">CSV<\/a>  file to the existing  <a href=\"https:\/\/www.oracle.com\/database\/\">Oracle<\/a>  table via command line on Linux (Ubuntu\/RedHat\/CentOS&#8230;)?<\/p>\n<p>Using <a href=\"https:\/\/www.withdata.com\/ora-cmd\/\">ora-cmd<\/a>, a Command-Line client for Oracle, you can append CSV\/TSV\/TXT data into existing Oracle  table easily and fast.<\/p>\n<p>Support Windows, Linux, and MacOS.<\/p>\n<p><a href=\"#download-top\" onclick=\"dtv.style.display = 'block';\">Download ora-cmd Linux version<\/a>  <a href=\"#download-top\" onclick=\"dtv.style.display = 'block';\"><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/download_3.jpg\" alt=\"Download ora-cmd\" width=\"80\" height=\"22\" style=\"max-width:100%;height:auto;\" \/><\/a> <span id=\"dtv\" style=\"display: none;\"><br \/>\n<a href=\"\/down\/ora-cmd.linux-386.zip\">ora-cmd.linux-386.zip<\/a><br \/>\n<a href=\"\/down\/ora-cmd.linux-amd64.zip\">ora-cmd.linux-amd64.zip<\/a><br \/>\n<a href=\"\/down\/ora-cmd.linux-arm64.zip\">ora-cmd.linux-arm64.zip<\/a><br \/>\n<\/span><\/p>\n<p>No need to install Oracle client library.<\/p>\n<p>Convenient to deploy to cloud. No need to run installation file, just uncompress and run, immediately.<\/p>\n<h2>Append CSV\/TSV\/TXT data to existing Oracle  table via command line on Linux<\/h2>\n<p>1. In interactive mode:<\/p>\n<pre>\nora-cmd> load loadtype=append\n      > table=media_messages \n      > datafile=\/data\/media_messages.csv \n      > delimiter=, \n      > quote=\" \n      > header=y;\n<\/pre>\n<p>2. In batch mode:<\/p>\n<pre>\nora-cmd dsn=\"pan:withdata@192.168.0.102\/test\" task=load loadtype=append table=media_messages datafile=\/data\/media_messages.csv  delimiter=, quote=\" header=y quit=y\n<\/pre>\n<p>See <a href=\"https:\/\/www.withdata.com\/ora-cmd\/load.html\">parameters detail<\/a>.<\/p>\n<hr style=\"clear: both;\" \/>\n<p><a href=\"https:\/\/www.withdata.com\/ora-cmd\/\">More about ora-cmd<\/a> &#8211; <a href=\"https:\/\/www.withdata.com\/ora-cmd\/\">Command-Line client for Oracle<\/a><\/p>\n<div id=\"download-bottom\" style=\"clear: both;\">\n<p>Download ora-cmd Linux version<a href=\"#download-bottom\" onclick=\"dbv.style.display = 'block';\"><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/btn_download_green.png\" alt=\"Download ora-cmd\" width=\"165\" height=\"50\" style=\"max-width:100%;height:auto;\" \/><\/a> <span id=\"dbv\" style=\"display: none;\"><br \/>\n<a href=\"\/down\/ora-cmd.linux-386.zip\">ora-cmd.linux-386.zip<\/a><br \/>\n<a href=\"\/down\/ora-cmd.linux-amd64.zip\">ora-cmd.linux-amd64.zip<\/a><br \/>\n<a href=\"\/down\/ora-cmd.linux-arm64.zip\">ora-cmd.linux-arm64.zip<\/a><br \/>\n<\/span><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Want to append the data from CSV file to the existing Oracle table via command line on Linux (Ubuntu\/RedHat\/CentOS&#8230;)? Using ora-cmd, a Command-Line client for Oracle, you can append CSV\/TSV\/TXT data into existing Oracle table easily and fast. Support Windows, Linux, and MacOS. Download ora-cmd Linux version ora-cmd.linux-386.zip ora-cmd.linux-amd64.zip ora-cmd.linux-arm64.zip No need to install Oracle [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3146],"tags":[2557,73,34,2553,1325,3147],"class_list":["post-14735","post","type-post","status-publish","format-standard","hentry","category-ora-cmd","tag-append","tag-command-line","tag-csv","tag-linux","tag-oracle","tag-oracle-append-csv"],"_links":{"self":[{"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/posts\/14735","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/comments?post=14735"}],"version-history":[{"count":3,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/posts\/14735\/revisions"}],"predecessor-version":[{"id":27296,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/posts\/14735\/revisions\/27296"}],"wp:attachment":[{"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/media?parent=14735"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/categories?post=14735"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/tags?post=14735"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}