
<?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/"
	
	>
<channel>
	<title>
	Comments on: Practical Examples of PeopleSoft SQR Load Lookup	</title>
	<atom:link href="https://www.dbtutor.com/2013/09/23/5-practical-examples-sqr-load-lookup/feed" rel="self" type="application/rss+xml" />
	<link>https://www.dbtutor.com/2013/09/23/5-practical-examples-sqr-load-lookup</link>
	<description>Tips for Those Who Want to Learn</description>
	<lastBuildDate>Thu, 10 May 2018 05:15:32 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.2</generator>
	<item>
		<title>
		By: Abhishek Kumar Gupta		</title>
		<link>https://www.dbtutor.com/2013/09/23/5-practical-examples-sqr-load-lookup#comment-587</link>

		<dc:creator><![CDATA[Abhishek Kumar Gupta]]></dc:creator>
		<pubDate>Thu, 10 May 2018 05:15:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.dbtutor.com/?p=365#comment-587</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.dbtutor.com/2013/09/23/5-practical-examples-sqr-load-lookup#comment-586&quot;&gt;Abhishek Kumar Gupta&lt;/a&gt;.

calling : 
let $search = $SETID_DEPT &#124;&#124; $DEPTID
lookup deptid $search $ret_val]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.dbtutor.com/2013/09/23/5-practical-examples-sqr-load-lookup#comment-586">Abhishek Kumar Gupta</a>.</p>
<p>calling :<br />
let $search = $SETID_DEPT || $DEPTID<br />
lookup deptid $search $ret_val</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Abhishek Kumar Gupta		</title>
		<link>https://www.dbtutor.com/2013/09/23/5-practical-examples-sqr-load-lookup#comment-586</link>

		<dc:creator><![CDATA[Abhishek Kumar Gupta]]></dc:creator>
		<pubDate>Thu, 10 May 2018 05:14:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.dbtutor.com/?p=365#comment-586</guid>

					<description><![CDATA[How to use multiple Columns in where and in Select clause in Load- Lookup
Code will run in SQL Server,change as per you need , You can change return value to &#039;col1+&#039;&#124;&#124;&#039;;&#039;&#124;&#124;&#039;col2&#039; if require to select multiple columns

!load lookup for department 
let $where = &#039;DEPT.EFFDT = (SELECT MAX(EFFDT) FROM PS_DEPT_TBL&#039; &#124;&#124; &#039; WHERE SETID = DEPT.SETID &#039; &#124;&#124; &#039; AND DEPTID = DEPT.DEPTID AND EFFDT &#060;= &#039; &#124;&#124; &#039;&#039;&#039;&#039; &#124;&#124; $CONV_ASOFDATE &#124;&#124; &#039;&#039;&#039;)&#039; &#124;&#124; &#039; AND DEPT.EFF_STATUS = &#039;&#039;A&#039;&#039;&#039; 
	
	
	Load-Lookup 
	name = deptid 
	rows = 20000 
	table = &#039;PS_DEPT_TBL DEPT&#039; 
	key = &#039;DEPT.SETID+DEPT.DEPTID&#039; 
	return_value = &#039;DEPT.DESCR&#039; 
	where = $where]]></description>
			<content:encoded><![CDATA[<p>How to use multiple Columns in where and in Select clause in Load- Lookup<br />
Code will run in SQL Server,change as per you need , You can change return value to &#8216;col1+&#8217;||&#8217;;&#8217;||&#8217;col2&#8242; if require to select multiple columns</p>
<p>!load lookup for department<br />
let $where = &#8216;DEPT.EFFDT = (SELECT MAX(EFFDT) FROM PS_DEPT_TBL&#8217; || &#8216; WHERE SETID = DEPT.SETID &#8216; || &#8216; AND DEPTID = DEPT.DEPTID AND EFFDT &lt;= &#039; || &#039;&#039;&#039;&#039; || $CONV_ASOFDATE || &#039;&#039;&#039;)&#039; || &#039; AND DEPT.EFF_STATUS = &#039;&#039;A&#039;&#039;&#039; </p>
<p>	Load-Lookup<br />
	name = deptid<br />
	rows = 20000<br />
	table = &#039;PS_DEPT_TBL DEPT&#039;<br />
	key = &#039;DEPT.SETID+DEPT.DEPTID&#039;<br />
	return_value = &#039;DEPT.DESCR&#039;<br />
	where = $where</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: gunce kaya		</title>
		<link>https://www.dbtutor.com/2013/09/23/5-practical-examples-sqr-load-lookup#comment-484</link>

		<dc:creator><![CDATA[gunce kaya]]></dc:creator>
		<pubDate>Fri, 19 Jun 2015 11:31:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.dbtutor.com/?p=365#comment-484</guid>

					<description><![CDATA[Hello,

Nice article. I have some questions. which tool should I use for SQR coding? How can I create an SQR file? Can I debug SQR code, If yes, how can I do that?

Regards]]></description>
			<content:encoded><![CDATA[<p>Hello,</p>
<p>Nice article. I have some questions. which tool should I use for SQR coding? How can I create an SQR file? Can I debug SQR code, If yes, how can I do that?</p>
<p>Regards</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
