<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Andrew Fraser</title>
	<atom:link href="http://andrewfraser.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://andrewfraser.wordpress.com</link>
	<description>Oracle DBA (and a little SQL Server)</description>
	<lastBuildDate>Fri, 13 Mar 2009 17:29:24 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Using 10g datapump and scheduler to copy schemas by Bug? with wrong results from all_objects in stored plsql procedures &#171; Andrew Fraser DBA</title>
		<link>http://andrewfraser.wordpress.com/2007/02/01/using-10g-datapump-and-scheduler-to-copy-schemas/#comment-3682</link>
		<dc:creator>Bug? with wrong results from all_objects in stored plsql procedures &#171; Andrew Fraser DBA</dc:creator>
		<pubDate>Fri, 13 Mar 2009 17:29:24 +0000</pubDate>
		<guid isPermaLink="false">http://andrewfraser.wordpress.com/2007/02/01/using-10g-datapump-and-scheduler-to-copy-schemas/#comment-3682</guid>
		<description>[...] not just an academic issue either: it caused this code of mine to fail to find and drop the objects it was meant to [...]</description>
		<content:encoded><![CDATA[<p>[...] not just an academic issue either: it caused this code of mine to fail to find and drop the objects it was meant to [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Script run against every running database, listing total oracle memory (sga+pga) by Pre 9202/9014: Advanced queuing runs away with server memory. &#171; Andrew Fraser DBA</title>
		<link>http://andrewfraser.wordpress.com/2007/01/15/script-run-against-every-running-database-listing-total-oracle-memory-sgapga/#comment-3681</link>
		<dc:creator>Pre 9202/9014: Advanced queuing runs away with server memory. &#171; Andrew Fraser DBA</dc:creator>
		<pubDate>Fri, 13 Mar 2009 17:28:50 +0000</pubDate>
		<guid isPermaLink="false">http://andrewfraser.wordpress.com/2007/01/15/script-run-against-every-running-database-listing-total-oracle-memory-sgapga/#comment-3681</guid>
		<description>[...] the below memory listing script, I found two databases with large PGAs. That was strange since pga_aggregate_target was unset, [...]</description>
		<content:encoded><![CDATA[<p>[...] the below memory listing script, I found two databases with large PGAs. That was strange since pga_aggregate_target was unset, [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 9i unix startup / shutdown with listener password by Listener passwords: always for 9i, never for 10g &#171; Andrew Fraser DBA</title>
		<link>http://andrewfraser.wordpress.com/2007/01/11/9i-unix-startup-shutdown-with-listener-password/#comment-3680</link>
		<dc:creator>Listener passwords: always for 9i, never for 10g &#171; Andrew Fraser DBA</dc:creator>
		<pubDate>Fri, 13 Mar 2009 17:28:41 +0000</pubDate>
		<guid isPermaLink="false">http://andrewfraser.wordpress.com/2007/01/11/9i-unix-startup-shutdown-with-listener-password/#comment-3680</guid>
		<description>[...] makes system shutdown commands a little more complex, see this post for [...]</description>
		<content:encoded><![CDATA[<p>[...] makes system shutdown commands a little more complex, see this post for [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Bug? with wrong results from all_objects in stored plsql procedures by Using 10g datapump and scheduler to copy schemas &#171; Andrew Fraser DBA</title>
		<link>http://andrewfraser.wordpress.com/2007/03/02/bug-with-wrong-results-from-all_objects-in-stored-plsql-procedures/#comment-3679</link>
		<dc:creator>Using 10g datapump and scheduler to copy schemas &#171; Andrew Fraser DBA</dc:creator>
		<pubDate>Fri, 13 Mar 2009 17:27:59 +0000</pubDate>
		<guid isPermaLink="false">http://andrewfraser.wordpress.com/2007/03/02/bug-with-wrong-results-from-all_objects-in-stored-plsql-procedures/#comment-3679</guid>
		<description>[...] Update 02-Mar-07: dba_ views rather than all_ views have to be used to identify what objects to drop prior to datapump, for reasons explained in this post. [...]</description>
		<content:encoded><![CDATA[<p>[...] Update 02-Mar-07: dba_ views rather than all_ views have to be used to identify what objects to drop prior to datapump, for reasons explained in this post. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on useful simple vi commands for DBAs by Andrew Fraser</title>
		<link>http://andrewfraser.wordpress.com/2007/01/12/useful-simple-vi-commands-for-dbas/#comment-3678</link>
		<dc:creator>Andrew Fraser</dc:creator>
		<pubDate>Wed, 04 Mar 2009 16:48:21 +0000</pubDate>
		<guid isPermaLink="false">http://andrewfraser.wordpress.com/2007/01/12/useful-simple-vi-commands-for-dbas/#comment-3678</guid>
		<description>Hi Kedar,

1) :%s changes every line, :$s only changes the last line in the file.
2) $ is end of line rather than new line. ctrl+v ctrl+m is carriage return/line break character.
3) You can include /g if you want, makes no difference to this particular command, since there will be only one end of line marker in each line.
4) Use the &quot;\&quot; character to escape out special vi characters. So this command would change all $ symbols to c:
:%s/\$/c/g

Andrew.</description>
		<content:encoded><![CDATA[<p>Hi Kedar,</p>
<p>1) :%s changes every line, :$s only changes the last line in the file.<br />
2) $ is end of line rather than new line. ctrl+v ctrl+m is carriage return/line break character.<br />
3) You can include /g if you want, makes no difference to this particular command, since there will be only one end of line marker in each line.<br />
4) Use the &#8220;\&#8221; character to escape out special vi characters. So this command would change all $ symbols to c:<br />
:%s/\$/c/g</p>
<p>Andrew.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on useful simple vi commands for DBAs by kedarm</title>
		<link>http://andrewfraser.wordpress.com/2007/01/12/useful-simple-vi-commands-for-dbas/#comment-3677</link>
		<dc:creator>kedarm</dc:creator>
		<pubDate>Wed, 04 Mar 2009 07:12:12 +0000</pubDate>
		<guid isPermaLink="false">http://andrewfraser.wordpress.com/2007/01/12/useful-simple-vi-commands-for-dbas/#comment-3677</guid>
		<description>I&#039;ve got some doubts -

1) Difference between :%s and :$s
:%s/$/ctrl+v ctrl+m - After every instance of $ (end line), insert ctrl+v ctrl+m (new line)?
:$s/$/ctrl+v ctrl+m - Replace every instance of $ (end line) with ctrl+v ctrl+m (new line)
Is the above correct?

2) Why use ctrl+v ctrl+m
Why doesn&#039;t :%s/$/$/g work? This should mean that append after every $ (new line) another $ (new line)?
Why should ctrl+v ctrl+m and not another $ - eg, after every instance of an end-line, put another end-line, something analogous to 
if (s[i]==&#039;\n&#039;)   s[i+1]=&#039;\n&#039;;

3) Why not use /g?
Why don&#039;t we use the /g after :%s/$/ctrl+v ctrl+m? Doesn&#039;t it tell the command to do it for every occurrence of $ (end-line)?

4) Escape sequences
If I want to replace the character $ (dollar) by c (cents), is there some escape sequence I can use so that vim doesn&#039;t mistakenly hunt for end-of-line characters instead of the &#039;$&#039; character?

Thanks
Kedar</description>
		<content:encoded><![CDATA[<p>I&#8217;ve got some doubts -</p>
<p>1) Difference between :%s and :$s<br />
:%s/$/ctrl+v ctrl+m &#8211; After every instance of $ (end line), insert ctrl+v ctrl+m (new line)?<br />
:$s/$/ctrl+v ctrl+m &#8211; Replace every instance of $ (end line) with ctrl+v ctrl+m (new line)<br />
Is the above correct?</p>
<p>2) Why use ctrl+v ctrl+m<br />
Why doesn&#8217;t :%s/$/$/g work? This should mean that append after every $ (new line) another $ (new line)?<br />
Why should ctrl+v ctrl+m and not another $ &#8211; eg, after every instance of an end-line, put another end-line, something analogous to<br />
if (s[i]==&#8217;\n&#8217;)   s[i+1]=&#8217;\n&#8217;;</p>
<p>3) Why not use /g?<br />
Why don&#8217;t we use the /g after :%s/$/ctrl+v ctrl+m? Doesn&#8217;t it tell the command to do it for every occurrence of $ (end-line)?</p>
<p>4) Escape sequences<br />
If I want to replace the character $ (dollar) by c (cents), is there some escape sequence I can use so that vim doesn&#8217;t mistakenly hunt for end-of-line characters instead of the &#8216;$&#8217; character?</p>
<p>Thanks<br />
Kedar</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on useful simple vi commands for DBAs by Andrew Fraser</title>
		<link>http://andrewfraser.wordpress.com/2007/01/12/useful-simple-vi-commands-for-dbas/#comment-3676</link>
		<dc:creator>Andrew Fraser</dc:creator>
		<pubDate>Tue, 03 Mar 2009 14:50:48 +0000</pubDate>
		<guid isPermaLink="false">http://andrewfraser.wordpress.com/2007/01/12/useful-simple-vi-commands-for-dbas/#comment-3676</guid>
		<description>Hi kedarm.
:%s/$/ctrl+v ctrl+m
Does that. That&#039;s how you type it, but it appears as
:%s/$/^M
On the vi screen.
Works because $ is the end of line character in vi. ^ is the equivalent beginning of line character, I sometimes use that instead.
Andrew.</description>
		<content:encoded><![CDATA[<p>Hi kedarm.<br />
:%s/$/ctrl+v ctrl+m<br />
Does that. That&#8217;s how you type it, but it appears as<br />
:%s/$/^M<br />
On the vi screen.<br />
Works because $ is the end of line character in vi. ^ is the equivalent beginning of line character, I sometimes use that instead.<br />
Andrew.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on useful simple vi commands for DBAs by kedarm</title>
		<link>http://andrewfraser.wordpress.com/2007/01/12/useful-simple-vi-commands-for-dbas/#comment-3674</link>
		<dc:creator>kedarm</dc:creator>
		<pubDate>Sun, 01 Mar 2009 05:55:15 +0000</pubDate>
		<guid isPermaLink="false">http://andrewfraser.wordpress.com/2007/01/12/useful-simple-vi-commands-for-dbas/#comment-3674</guid>
		<description>Hey,

How does one insert a new line?

For instance, if my file is -
test 1
test 2
test 3

and I want to make it,
test 1

test 2

test 3

Will a simple &#039;:s/test/\n test&#039; work?</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>How does one insert a new line?</p>
<p>For instance, if my file is -<br />
test 1<br />
test 2<br />
test 3</p>
<p>and I want to make it,<br />
test 1</p>
<p>test 2</p>
<p>test 3</p>
<p>Will a simple &#8216;:s/test/\n test&#8217; work?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About by ocpdba</title>
		<link>http://andrewfraser.wordpress.com/about/#comment-3670</link>
		<dc:creator>ocpdba</dc:creator>
		<pubDate>Tue, 24 Feb 2009 11:33:41 +0000</pubDate>
		<guid isPermaLink="false">#comment-3670</guid>
		<description>Hi Andrew. 

Been an Oracle DBA for most than 15 years but only recently I&#039;ve decided to web logging some Oracle stuff. 

I would appreciate your input on the site and if you want to contribute feel free.

Thanks.

URL: http://ocpdba.wordpress.com</description>
		<content:encoded><![CDATA[<p>Hi Andrew. </p>
<p>Been an Oracle DBA for most than 15 years but only recently I&#8217;ve decided to web logging some Oracle stuff. </p>
<p>I would appreciate your input on the site and if you want to contribute feel free.</p>
<p>Thanks.</p>
<p>URL: <a href="http://ocpdba.wordpress.com" rel="nofollow">http://ocpdba.wordpress.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fix for TOAD error ORA-02404: specified plan table not found by Monika</title>
		<link>http://andrewfraser.wordpress.com/2007/05/23/fix-for-toad-error-ora-02404-specified-plan-table-not-found/#comment-3669</link>
		<dc:creator>Monika</dc:creator>
		<pubDate>Fri, 20 Feb 2009 12:09:12 +0000</pubDate>
		<guid isPermaLink="false">http://andrewfraser.wordpress.com/2007/05/23/fix-for-toad-error-ora-02404-specified-plan-table-not-found/#comment-3669</guid>
		<description>Thanks a lot it works</description>
		<content:encoded><![CDATA[<p>Thanks a lot it works</p>
]]></content:encoded>
	</item>
</channel>
</rss>
