<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.onqpr.com/pa/index.php?action=history&amp;feed=atom&amp;title=ImportSalesforceQuery_Script_Examples</id>
	<title>ImportSalesforceQuery Script Examples - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.onqpr.com/pa/index.php?action=history&amp;feed=atom&amp;title=ImportSalesforceQuery_Script_Examples"/>
	<link rel="alternate" type="text/html" href="https://wiki.onqpr.com/pa/index.php?title=ImportSalesforceQuery_Script_Examples&amp;action=history"/>
	<updated>2026-04-07T02:19:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>https://wiki.onqpr.com/pa/index.php?title=ImportSalesforceQuery_Script_Examples&amp;diff=19249&amp;oldid=prev</id>
		<title>Ollvihe at 20:51, 25 October 2021</title>
		<link rel="alternate" type="text/html" href="https://wiki.onqpr.com/pa/index.php?title=ImportSalesforceQuery_Script_Examples&amp;diff=19249&amp;oldid=prev"/>
		<updated>2021-10-25T20:51:33Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:51, 25 October 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This page contains script examples for the [[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;QPR ProcessAnalyzer &lt;/del&gt;Scripting Commands#--.23ImportSalesforceQuery|ImportSalesforceQuery]] script command.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This page contains script examples for the [[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;SQL &lt;/ins&gt;Scripting Commands#--.23ImportSalesforceQuery|ImportSalesforceQuery]] script command.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following example will load date data from the &amp;quot;Contact&amp;quot; table in the Salesforce cloud and put that data into the &amp;quot;ExampleDataTable&amp;quot; data table in the &amp;quot;ExampleProject&amp;quot; project. It will then get the Data Table analysis from the &amp;quot;ExampleDataTable&amp;quot;, put that into the &amp;quot;#TABLE&amp;quot; temporary table and then show the contents of that table.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following example will load date data from the &amp;quot;Contact&amp;quot; table in the Salesforce cloud and put that data into the &amp;quot;ExampleDataTable&amp;quot; data table in the &amp;quot;ExampleProject&amp;quot; project. It will then get the Data Table analysis from the &amp;quot;ExampleDataTable&amp;quot;, put that into the &amp;quot;#TABLE&amp;quot; temporary table and then show the contents of that table.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ollvihe</name></author>
	</entry>
	<entry>
		<id>https://wiki.onqpr.com/pa/index.php?title=ImportSalesforceQuery_Script_Examples&amp;diff=8561&amp;oldid=prev</id>
		<title>Ollvihe at 07:43, 7 February 2018</title>
		<link rel="alternate" type="text/html" href="https://wiki.onqpr.com/pa/index.php?title=ImportSalesforceQuery_Script_Examples&amp;diff=8561&amp;oldid=prev"/>
		<updated>2018-02-07T07:43:16Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 07:43, 7 February 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This page contains script examples for the [[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Supported_QPR_ProcessAnalyzer_Commands_in_Scripts&lt;/del&gt;#--.23ImportSalesforceQuery|ImportSalesforceQuery]] script command.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This page contains script examples for the [[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;QPR ProcessAnalyzer Scripting Commands&lt;/ins&gt;#--.23ImportSalesforceQuery|ImportSalesforceQuery]] script command.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following example will load date data from the &amp;quot;Contact&amp;quot; table in the Salesforce cloud and put that data into the &amp;quot;ExampleDataTable&amp;quot; data table in the &amp;quot;ExampleProject&amp;quot; project. It will then get the Data Table analysis from the &amp;quot;ExampleDataTable&amp;quot;, put that into the &amp;quot;#TABLE&amp;quot; temporary table and then show the contents of that table.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The following example will load date data from the &amp;quot;Contact&amp;quot; table in the Salesforce cloud and put that data into the &amp;quot;ExampleDataTable&amp;quot; data table in the &amp;quot;ExampleProject&amp;quot; project. It will then get the Data Table analysis from the &amp;quot;ExampleDataTable&amp;quot;, put that into the &amp;quot;#TABLE&amp;quot; temporary table and then show the contents of that table.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ollvihe</name></author>
	</entry>
	<entry>
		<id>https://wiki.onqpr.com/pa/index.php?title=ImportSalesforceQuery_Script_Examples&amp;diff=2896&amp;oldid=prev</id>
		<title>TeeHiet: 403051</title>
		<link rel="alternate" type="text/html" href="https://wiki.onqpr.com/pa/index.php?title=ImportSalesforceQuery_Script_Examples&amp;diff=2896&amp;oldid=prev"/>
		<updated>2016-06-20T07:55:19Z</updated>

		<summary type="html">&lt;p&gt;403051&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This page contains script examples for the [[Supported_QPR_ProcessAnalyzer_Commands_in_Scripts#--.23ImportSalesforceQuery|ImportSalesforceQuery]] script command.&lt;br /&gt;
&lt;br /&gt;
The following example will load date data from the &amp;quot;Contact&amp;quot; table in the Salesforce cloud and put that data into the &amp;quot;ExampleDataTable&amp;quot; data table in the &amp;quot;ExampleProject&amp;quot; project. It will then get the Data Table analysis from the &amp;quot;ExampleDataTable&amp;quot;, put that into the &amp;quot;#TABLE&amp;quot; temporary table and then show the contents of that table.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
(SELECT &amp;#039;ProjectName&amp;#039;, &amp;#039;ExampleProject&amp;#039;) UNION ALL&lt;br /&gt;
(SELECT &amp;#039;DataTableName&amp;#039;, &amp;#039;ExampleDataTable&amp;#039;) UNION ALL&lt;br /&gt;
(SELECT &amp;#039;Append&amp;#039;, &amp;#039;0&amp;#039;) UNION ALL&lt;br /&gt;
(SELECT &amp;#039;SalesforceUser&amp;#039;, &amp;#039;example.user@qpr.com&amp;#039;)  UNION ALL&lt;br /&gt;
(SELECT &amp;#039;SalesforcePW&amp;#039;, &amp;#039;examplepassword&amp;#039;)  UNION ALL&lt;br /&gt;
(SELECT &amp;#039;SalesforceQuery&amp;#039;, &amp;#039;SELECT CreatedDate FROM Contact&amp;#039;)&lt;br /&gt;
--#ImportSalesforceQuery&lt;br /&gt;
&lt;br /&gt;
(SELECT &amp;#039;AnalysisType&amp;#039;, &amp;#039;18&amp;#039;) UNION ALL &lt;br /&gt;
(SELECT &amp;#039;ProjectName&amp;#039;, &amp;#039;ExampleProject&amp;#039;) UNION ALL&lt;br /&gt;
(SELECT &amp;#039;MaximumCount&amp;#039;, &amp;#039;0&amp;#039;) UNION ALL &lt;br /&gt;
(SELECT &amp;#039;DataTableName&amp;#039;, &amp;#039;ExampleDataTable&amp;#039;) UNION ALL &lt;br /&gt;
(SELECT &amp;#039;TargetTable&amp;#039;, &amp;#039;#TABLE&amp;#039;) &lt;br /&gt;
--#GetAnalysis &lt;br /&gt;
&lt;br /&gt;
(SELECT * FROM #TABLE) &lt;br /&gt;
(SELECT &amp;#039;MaximumCount&amp;#039;, &amp;#039;0&amp;#039;) &lt;br /&gt;
--#ShowReport &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Examples]]&lt;/div&gt;</summary>
		<author><name>TeeHiet</name></author>
	</entry>
</feed>