<?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>PeopleSoftGeeks &#187; Software Stuff</title>
	<atom:link href="http://www.peoplesoftgeeks.com/category/software-stuff/feed" rel="self" type="application/rss+xml" />
	<link>http://www.peoplesoftgeeks.com</link>
	<description>Where we talk about software and computers</description>
	<lastBuildDate>Sat, 21 Nov 2009 16:40:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Recent iFrame Attacks on Word Press Blogs</title>
		<link>http://www.peoplesoftgeeks.com/software-stuff/recent-iframe-attacks-on-word-press-blogs</link>
		<comments>http://www.peoplesoftgeeks.com/software-stuff/recent-iframe-attacks-on-word-press-blogs#comments</comments>
		<pubDate>Sun, 08 Nov 2009 16:40:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software Stuff]]></category>
		<category><![CDATA[word press iframe attack]]></category>

		<guid isPermaLink="false">http://www.peoplesoftgeeks.com/software-stuff/recent-iframe-attacks-on-word-press-blogs</guid>
		<description><![CDATA[There has been a recent splurge in iFrame attacks on word press blogs across the globe.&#160; What these hackers are doing is getting into web servers thru vulnerability in older Word Press versions, and changing the index.pgp file in the Word Press blogs, to be a redirect to a site that contains malware.&#160; There are [...]]]></description>
			<content:encoded><![CDATA[<p>There has been a recent splurge in iFrame attacks on word press blogs across the globe.&nbsp; What these hackers are doing is getting into web servers thru vulnerability in older Word Press versions, and changing the index.pgp file in the Word Press blogs, to be a redirect to a site that contains malware.&nbsp; There are also adding the iFrame to all index.html files in non Word Press blogs.</p>
<p>Now, this is only for those people that host their own Word Press Blogs.&nbsp; If you site is still working, you need to quickly get it updated.&nbsp; Just log into the admin panel of your Word Press blog and update to the latest 2.8.6 version of Word Press.</p>
<p>Now, if your blog has been attacked, it can be quickly fixed.&nbsp; You just need to upload the Index.php file (this is identical for all Word Press blogs), then log in and update your blog.&nbsp; If you don&rsquo;t have this file, go to <a href="http://www.wordpress.org" target="_blank">http://www.wordpress.org</a> and download the entire version of Word Press 2.8.6.&nbsp; Now, if you are an advanced user, you can do the upgrade manually by following the instructions that come with the update.&nbsp; For you novice users, just upload the index.php file that comes with the update the root directory of your blog, delete any index.html file you may see in your root directory, then log in, and update automatically.</p>
<p>You can also contact your hosting provider for any additional help.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.peoplesoftgeeks.com%2Fsoftware-stuff%2Frecent-iframe-attacks-on-word-press-blogs';
  addthis_title  = 'Recent+iFrame+Attacks+on+Word+Press+Blogs';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>

<!-- start wp-tags-to-technorati 1.01 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/word+press+iframe+attack' rel='tag' target='_blank'>word press iframe attack</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.peoplesoftgeeks.com/software-stuff/recent-iframe-attacks-on-word-press-blogs/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Here is some SQL to help you validate a date format.</title>
		<link>http://www.peoplesoftgeeks.com/software-stuff/here-is-some-sqr-to-help-you-validate-a-date-format</link>
		<comments>http://www.peoplesoftgeeks.com/software-stuff/here-is-some-sqr-to-help-you-validate-a-date-format#comments</comments>
		<pubDate>Wed, 21 Jan 2009 16:39:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software Stuff]]></category>
		<category><![CDATA[SQL validate a date format]]></category>

		<guid isPermaLink="false">http://www.peoplesoftgeeks.com/software-stuff/here-is-some-sqr-to-help-you-validate-a-date-format</guid>
		<description><![CDATA[!&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-!
! Procedure: Date-Validation          !
! Descr:     Validate $entered_date.  !
!&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-!
Begin-Procedure Date-Validation
#debug show &#8216;Entering Date-Validation&#8217;
Let $Date_Validation = &#8216;N&#8217;
!Show &#8216;$entered_date: &#8216; $entered_date
Let #1st_Slash_position = instr($entered_date, &#8216;/&#8217;, 1)
!Show &#8216;#1st_Slash_position: &#8216; #1st_Slash_position
Let #2nd_Slash_position = instr($entered_date, &#8216;/&#8217;, #1st_Slash_position + 1)
!Show &#8216;#2nd_Slash_position: &#8216; #2nd_Slash_position

  addthis_url    = 'http%3A%2F%2Fwww.peoplesoftgeeks.com%2Fsoftware-stuff%2Fhere-is-some-sqr-to-help-you-validate-a-date-format';
  addthis_title  = 'Here+is+some+SQL+to+help+you+validate+a+date+format.';
  addthis_pub    = '';




Technorati [...]]]></description>
			<content:encoded><![CDATA[<p>!&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-!<br />
! Procedure: Date-Validation          !<br />
! Descr:     Validate $entered_date.  !<br />
!&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-!<br />
Begin-Procedure Date-Validation<br />
#debug show &#8216;Entering Date-Validation&#8217;</p>
<p>Let $Date_Validation = &#8216;N&#8217;<br />
!Show &#8216;$entered_date: &#8216; $entered_date<br />
Let #1st_Slash_position = instr($entered_date, &#8216;/&#8217;, 1)<br />
!Show &#8216;#1st_Slash_position: &#8216; #1st_Slash_position<br />
Let #2nd_Slash_position = instr($entered_date, &#8216;/&#8217;, #1st_Slash_position + 1)<br />
!Show &#8216;#2nd_Slash_position: &#8216; #2nd_Slash_position</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.peoplesoftgeeks.com%2Fsoftware-stuff%2Fhere-is-some-sqr-to-help-you-validate-a-date-format';
  addthis_title  = 'Here+is+some+SQL+to+help+you+validate+a+date+format.';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>

<!-- start wp-tags-to-technorati 1.01 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/SQL+validate+a+date+format' rel='tag' target='_blank'>SQL validate a date format</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.peoplesoftgeeks.com/software-stuff/here-is-some-sqr-to-help-you-validate-a-date-format/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Troubleshoot the SMTP Server</title>
		<link>http://www.peoplesoftgeeks.com/software-stuff/troubleshoot-the-smtp-server</link>
		<comments>http://www.peoplesoftgeeks.com/software-stuff/troubleshoot-the-smtp-server#comments</comments>
		<pubDate>Tue, 16 Dec 2008 15:17:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software Stuff]]></category>
		<category><![CDATA[SMTP Server problems]]></category>

		<guid isPermaLink="false">http://www.peoplesoftgeeks.com/software-stuff/troubleshoot-the-smtp-server</guid>
		<description><![CDATA[The SendMail function in PeopleSoft uses the SMTP server to send emails. The first thing to do when troubleshooting problems with emails not being sent is to make sure your SMTP server is up and running. In this post, I will show you how to verify if you can connect to the SMTP server as [...]]]></description>
			<content:encoded><![CDATA[<p>The SendMail function in PeopleSoft uses the SMTP server to send emails. The first thing to do when troubleshooting problems with emails not being sent is to make sure your SMTP server is up and running. In this post, I will show you how to verify if you can connect to the SMTP server as well as manually sending an email!</p>
<p>Note: I&rsquo;m using Unix Telnet to connect to the SMTP sever.</p>
<p>Let&rsquo;s get started by trying to connect to the server:</p>
<p>Open a telnet session and login to the server box you would like to test sending emails from. I will be logging in to a DEV environment.</p>
<p>Step one:<br />Once logged in successfully, type:<br />$ telnet &lt;Your-SMTP-Server&gt; 25</p>
<p>And you shoud see&#8230;<br />Trying&#8230;<br />Connected to &lt;Your-SMTP-Server&gt;.<br />Escape character is &#8216;^]&#8217;.<br />220 &lt;Your-SMTP-Server&gt; ESMTP Sendmail 8.11.7p3+Sun/8.11.6; Mon, 14 Apr 2008 14:24:56 -0500 (CDT)</p>
<p>Great our DEV box allowed to connect to the SMTP server.</p>
<p>Step Two:<br />Send an email manually:<br />Lets identify ourselves with the HELO command and the domain name we are coming from. For example, if your work email address is your-name@yourcompany.com then your domain name would be yourcompany.com<br />helo yourcompany.com</p>
<p>And you should see&hellip;<br />250 &lt;Your-SMTP-Server&gt; Hello serverbox.yourcompany.com , pleased to meet you</p>
<p>Now type the email address you want the email to appear from:<br />mail from:test@yourcompany.com<br />250 2.1.0 test@yourcompany.com&#8230; Sender ok</p>
<p>Now type the email address you would want the message to go to:<br />rcpt to:you@yourcompany.com<br />250 2.1.5 you@yourcompany.com&#8230; Recipient ok</p>
<p>Now, lets type the email message. You will need to issue the command &#8220;data&#8221; then start typing your message, once done click enter and type &#8220;.&#8221; And then enter. A single point &#8220;.&#8221; On a line by itself followed by and enter means you are done typing your message.<br />data<br />354 Enter mail, end with &#8220;.&#8221; on a line by itself<br />This is a test email using SMTP.<br />.<br />250 2.0.0 m3EJaMf21424 Message accepted for delivery</p>
<p>To send your message just type &#8220;quit&#8221; in the command line and your done.<br />quit<br />221 2.0.0 &lt;Your-SMTP-Server&gt; closing connection<br />Connection closed.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.peoplesoftgeeks.com%2Fsoftware-stuff%2Ftroubleshoot-the-smtp-server';
  addthis_title  = 'Troubleshoot+the+SMTP+Server';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>

<!-- start wp-tags-to-technorati 1.01 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/SMTP+Server+problems' rel='tag' target='_blank'>SMTP Server problems</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.peoplesoftgeeks.com/software-stuff/troubleshoot-the-smtp-server/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Hyperlinks in Queries to Drill Down to Individual Values</title>
		<link>http://www.peoplesoftgeeks.com/software-stuff/using-hyperlinks-in-queries-to-drill-down-to-individual-values</link>
		<comments>http://www.peoplesoftgeeks.com/software-stuff/using-hyperlinks-in-queries-to-drill-down-to-individual-values#comments</comments>
		<pubDate>Thu, 16 Oct 2008 15:55:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software Stuff]]></category>

		<guid isPermaLink="false">http://www.peoplesoftgeeks.com/software-stuff/using-hyperlinks-in-queries-to-drill-down-to-individual-values</guid>
		<description><![CDATA[I came across a PeopleSoft posting written by Rob&#8217;s PeopleSoft Blog and could not help but to post it on my blog.   It is such a neat trick and I&#8217;m sure will come handy in many occasions.
How often do you see your users running queries and then writing down values that are returned [...]]]></description>
			<content:encoded><![CDATA[<p>I came across a PeopleSoft posting written by Rob&#8217;s PeopleSoft Blog and could not help but to post it on my blog.   It is such a neat trick and I&#8217;m sure will come handy in many occasions.<span style="font-size: 11pt; line-height: 115%; font-family: 'Georgia','serif';"></span></p>
<p>How often do you see your users running queries and then writing down values that are returned by the query so that they can then navigate to the appropriate page and view the underlying details of those vouchers, journals, vendors, etc.? Wouldn&#8217;t it be nice if they could just click on a hyperlink embedded within the query results and have the page pop up in a separate browser window instead?</p>
<p>I attended a session at Oracle OpenWorld at which a consultant demonstrated how hyperlinks can be used in PS Query to drill down to individual values that are returned by a query. There wasn&#8217;t a lot of detail given on how to do this, but once I got home I decided to give it a shot, and within an hour I had it working. This is one of the coolest features I&#8217;ve ever seen in PS Query, and I&#8217;m sure your users will love it.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.peoplesoftgeeks.com%2Fsoftware-stuff%2Fusing-hyperlinks-in-queries-to-drill-down-to-individual-values';
  addthis_title  = 'Using+Hyperlinks+in+Queries+to+Drill+Down+to+Individual+Values';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>

<!-- start wp-tags-to-technorati 1.01 -->

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.peoplesoftgeeks.com/software-stuff/using-hyperlinks-in-queries-to-drill-down-to-individual-values/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Effective dated quires are used often in PeopleSoft</title>
		<link>http://www.peoplesoftgeeks.com/software-stuff/effective-dated-quires-are-used-often-in-peoplesoft</link>
		<comments>http://www.peoplesoftgeeks.com/software-stuff/effective-dated-quires-are-used-often-in-peoplesoft#comments</comments>
		<pubDate>Thu, 18 Sep 2008 15:28:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software Stuff]]></category>

		<guid isPermaLink="false">http://www.peoplesoftgeeks.com/software-stuff/effective-dated-quires-are-used-often-in-peoplesoft</guid>
		<description><![CDATA[Syntax
%EffDtCheck(recordname [correlation_id1], correlation_id2, as_of_date)
The %EffDtCheck construct expands into an effective date subquery suitable for a Where clause.
recordname: Specify the record name to use as the record in the effective-date checking. This can be bind variable, a record object, or a record name in the form recname.correlation_id1: (Optional) Specify the letter used inside the effective-dating subselect. [...]]]></description>
			<content:encoded><![CDATA[<p>Syntax</p>
<p>%EffDtCheck(recordname [correlation_id1], correlation_id2, as_of_date)</p>
<p>The %EffDtCheck construct expands into an effective date subquery suitable for a Where clause.</p>
<p>recordname: Specify the record name to use as the record in the effective-date checking. This can be bind variable, a record object, or a record name in the form recname.<br />correlation_id1: (Optional) Specify the letter used inside the effective-dating subselect. If this parameter isn&rsquo;t specified, recordname is used.<br />correlation_id2: Specify the letter already assigned to the main record in the From clause of the SQL statement.<br />as_of_date: Specify the date to use in the effective date. This can be a bind variable, a variable, or a hard-coded date. The value for as_of_date is automatically wrapped in%DateIn unless as_of_date is already wrapped in %DateIn or refers to other database columns.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.peoplesoftgeeks.com%2Fsoftware-stuff%2Feffective-dated-quires-are-used-often-in-peoplesoft';
  addthis_title  = 'Effective+dated+quires+are+used+often+in+PeopleSoft';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>

<!-- start wp-tags-to-technorati 1.01 -->

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.peoplesoftgeeks.com/software-stuff/effective-dated-quires-are-used-often-in-peoplesoft/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exporting Compare Reports to Excel</title>
		<link>http://www.peoplesoftgeeks.com/software-stuff/exporting-compare-reports-to-excel</link>
		<comments>http://www.peoplesoftgeeks.com/software-stuff/exporting-compare-reports-to-excel#comments</comments>
		<pubDate>Mon, 11 Aug 2008 15:16:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software Stuff]]></category>

		<guid isPermaLink="false">http://www.peoplesoftgeeks.com/software-stuff/exporting-compare-reports-to-excel</guid>
		<description><![CDATA[I felt that having upgrade compare reports produced in CSV or HTML format was a greatest help to the entire team. It will be very easy keep track of decision made for each and every object and possibly put some comments about the upgrade action taken.
You need tweak the regedit setting on the PC where [...]]]></description>
			<content:encoded><![CDATA[<p>I felt that having upgrade compare reports produced in CSV or HTML format was a greatest help to the entire team. It will be very easy keep track of decision made for each and every object and possibly put some comments about the upgrade action taken.</p>
<p>You need tweak the regedit setting on the PC where you run the compare report in the following way.</p>
<p>1. Click on Start Menu &#8211; &gt; Run<br />2. Type Regedit</p>
<p>3. Click on HKEY_CURRENT_USER</p>
<p>4. Click on Software</p>
<p>5. Click on PeopleSoft &#8211; &gt; PeopleTools -&gt; Release8.40</p>
<p>6. Click on PSIDE</p>
<p>7. Right Click on PSIDE and Select New DWORD value and create the following DWORD values.<br />UpgHtmlOutput &#8211; for HTML output<br />UpgTextOutput &#8211; for tab delimited text<br />UpgCsvOutput &#8211; for comma delimited CSV output</p>
<p>8. Double click on the DWORD and Set each value to 1 that you want to create reports for. To turn off, set value to 0, or delete the entry.</p>
<p>9. Now run the compare reports and you will have your compare reports in HTML , CSV or Text format files in the same directory as it was for PRT files.</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.peoplesoftgeeks.com%2Fsoftware-stuff%2Fexporting-compare-reports-to-excel';
  addthis_title  = 'Exporting+Compare+Reports+to+Excel';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>

<!-- start wp-tags-to-technorati 1.01 -->

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.peoplesoftgeeks.com/software-stuff/exporting-compare-reports-to-excel/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Make a Sticky Article in Joomla?</title>
		<link>http://www.peoplesoftgeeks.com/software-stuff/how-to-make-a-sticky-article-in-joomla</link>
		<comments>http://www.peoplesoftgeeks.com/software-stuff/how-to-make-a-sticky-article-in-joomla#comments</comments>
		<pubDate>Thu, 08 May 2008 15:58:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software Stuff]]></category>
		<category><![CDATA[stick article joomla]]></category>

		<guid isPermaLink="false">http://www.peoplesoftgeeks.com/software-stuff/how-to-make-a-sticky-article-in-joomla</guid>
		<description><![CDATA[Sometimes you would like to have an article stays on the top of your Joomla home page at all times. Joomla however doesn&#8217;t really provide a way of doing that. Sure when you first create an article, it will be on the very top of your home page. But try creating more articles and see [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes you would like to have an article stays on the top of your Joomla home page at all times. Joomla however doesn&#8217;t really provide a way of doing that. Sure when you first create an article, it will be on the very top of your home page. But try creating more articles and see what happens, your article will be pushed down and replaced by the newly created ones.</p>
<p>Fortunately, there is an easy way of preventing that from happening.  So, lets get straight to it.</p>
<p>After your have created the article you would like to make sticky on your front page. Navigate to your Front Page Manager, locate the your article and in the &#8220;Order&#8221; column enter &#8220;-1&#8243; and click save. (see picture below)</p>
<p>It can&#8217;t get any easier, can it?</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.peoplesoftgeeks.com%2Fsoftware-stuff%2Fhow-to-make-a-sticky-article-in-joomla';
  addthis_title  = 'How+to+Make+a+Sticky+Article+in+Joomla%3F';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>

<!-- start wp-tags-to-technorati 1.01 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/stick+article+joomla' rel='tag' target='_blank'>stick article joomla</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.peoplesoftgeeks.com/software-stuff/how-to-make-a-sticky-article-in-joomla/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compare Data from the Same Table in two Different Environments</title>
		<link>http://www.peoplesoftgeeks.com/software-stuff/compare-data-from-the-same-table-in-two-different-environments</link>
		<comments>http://www.peoplesoftgeeks.com/software-stuff/compare-data-from-the-same-table-in-two-different-environments#comments</comments>
		<pubDate>Fri, 19 Oct 2007 15:14:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software Stuff]]></category>

		<guid isPermaLink="false">http://www.peoplesoftgeeks.com/software-stuff/compare-data-from-the-same-table-in-two-different-environments</guid>
		<description><![CDATA[One of the requirements I have lately is to compare table data between two different environments (Development and Test).The Oracle SQL below compares table1 that has 2 key fields and 3 regular fields.
Note: For the SQL below to work, your password needs to be the same in both environments. If not, thena connection using the [...]]]></description>
			<content:encoded><![CDATA[<p>One of the requirements I have lately is to compare table data between two different environments (Development and Test).<br />The Oracle SQL below compares table1 that has 2 key fields and 3 regular fields.</p>
<p>Note: For the SQL below to work, your password needs to be the same in both environments. If not, then<br />a connection using the below will not be possible.</p>
<p>FROM table1 tst, table1@dev_database dev</p>
<p>&#8211; Compare data from the same table in two different environments<br />SELECT&nbsp;&nbsp; tst.fieldkey1, tst.fieldkey2,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (CASE tst.field1<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WHEN stg.field1<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; THEN &#8216;Match&#8217;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ELSE&nbsp;&nbsp;&nbsp; &#8216;field1 in DEV is &#8216;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; || dev.field1<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; || &#8216;. field1 in TEST is &#8216;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; || tst.field1<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ) AS field1,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (CASE tst.field2<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WHEN dev.field2<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; THEN &#8216;Match&#8217;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ELSE&nbsp;&nbsp;&nbsp; &#8216;field2 in DEV is &#8216;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; || dev.field2<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; || &#8216;.&nbsp; field2 in TEST is &#8216;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; || tst.field2<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ) AS field2,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (CASE tst.field3<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WHEN dev.field3<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; THEN &#8216;Match&#8217;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ELSE&nbsp;&nbsp;&nbsp; &#8216;field3 in DEV is &#8216;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; || dev.field3<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; || &#8216;.&nbsp; field3 in TEST is &#8216;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; || tst.field3<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ) AS field3<br />&nbsp;&nbsp;&nbsp; FROM table1 tst, table1@dev_database dev<br />&nbsp;&nbsp; WHERE tst.fieldkey1 = dev.fieldkey1<br />&nbsp;&nbsp;&nbsp;&nbsp; AND tst.fieldkey2 = dev.fieldkey2<br />&nbsp;&nbsp;&nbsp;&nbsp; AND (&nbsp;&nbsp; tst.field1 &lt;&gt; dev.field1<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OR tst.field2 &lt;&gt; dev.field2<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OR tst.field3 &lt;&gt; dev.field3<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )<br />ORDER BY tst.fieldkey1, tst.fieldkey2;</p>
<script type="text/javascript">
  addthis_url    = 'http%3A%2F%2Fwww.peoplesoftgeeks.com%2Fsoftware-stuff%2Fcompare-data-from-the-same-table-in-two-different-environments';
  addthis_title  = 'Compare+Data+from+the+Same+Table+in+two+Different+Environments';
  addthis_pub    = '';
</script><script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12" ></script>

<!-- start wp-tags-to-technorati 1.01 -->

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.peoplesoftgeeks.com/software-stuff/compare-data-from-the-same-table-in-two-different-environments/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
