<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://springboardsolutions.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Using_Expressions_in_PS_Query</id>
		<title>Using Expressions in PS Query - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://springboardsolutions.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Using_Expressions_in_PS_Query"/>
		<link rel="alternate" type="text/html" href="http://springboardsolutions.com/wiki/index.php?title=Using_Expressions_in_PS_Query&amp;action=history"/>
		<updated>2026-10-17T02:37:08Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.25.2</generator>

	<entry>
		<id>http://springboardsolutions.com/wiki/index.php?title=Using_Expressions_in_PS_Query&amp;diff=793&amp;oldid=prev</id>
		<title>WikiSysop: /* More About Functions */</title>
		<link rel="alternate" type="text/html" href="http://springboardsolutions.com/wiki/index.php?title=Using_Expressions_in_PS_Query&amp;diff=793&amp;oldid=prev"/>
				<updated>2016-11-26T19:24:05Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;More About Functions&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 19:24, 26 November 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;L59&quot; &gt;Line 59:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 59:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;===Other Reading===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[PeopleSoft Query]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>WikiSysop</name></author>	</entry>

	<entry>
		<id>http://springboardsolutions.com/wiki/index.php?title=Using_Expressions_in_PS_Query&amp;diff=37&amp;oldid=prev</id>
		<title>WikiSysop: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://springboardsolutions.com/wiki/index.php?title=Using_Expressions_in_PS_Query&amp;diff=37&amp;oldid=prev"/>
				<updated>2016-03-25T08:51:03Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 08:51, 25 March 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>WikiSysop</name></author>	</entry>

	<entry>
		<id>http://springboardsolutions.com/wiki/index.php?title=Using_Expressions_in_PS_Query&amp;diff=35&amp;oldid=prev</id>
		<title>WikiSysop at 06:39, 4 January 2016</title>
		<link rel="alternate" type="text/html" href="http://springboardsolutions.com/wiki/index.php?title=Using_Expressions_in_PS_Query&amp;diff=35&amp;oldid=prev"/>
				<updated>2016-01-04T06:39:01Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Expressions in [[PeopleSoft Query]] are based on the functions and capabilities of the underlying database platform. For instance, if you are using the [[Oracle Database|Oracle database]], you can make use of Oracle SQL functions in your Query, if using [[Microsoft SQL Server|SQL Server]] - you can use SQL Server's SQL functions and so on.&lt;br /&gt;
&lt;br /&gt;
Although there are SQL standards, many of the SQL functions are not part of those standards. For this reason, the expressions listed below are Oracle SQL functions (hope to include SQL Server and other plaforms later).&lt;br /&gt;
&lt;br /&gt;
== Oracle SQL Functions in PeopleSoft Query ==&lt;br /&gt;
===Function: || (Concatenate) ===&lt;br /&gt;
'''Usage: 'Putting ' || A.COLUMN || ' and strings together' '''&lt;br /&gt;
&lt;br /&gt;
This concatenates (puts together) column values and fixed character values. This has got to be one of the most useful functions.&lt;br /&gt;
&lt;br /&gt;
'''Examples'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
'PS_' || A.RECNAME /* Gives the standard table name from the record name. */&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Function: Substr ===&lt;br /&gt;
'''Usage: substr(A.DESCR,start_position,number_of_characters) '''&lt;br /&gt;
&lt;br /&gt;
'''Usage: substr(A.DESCR,start_position) '''&lt;br /&gt;
&lt;br /&gt;
'''Usage: substr(A.DESCR,-start_position,number_of_characters) '''&lt;br /&gt;
&lt;br /&gt;
This extracts a part of a text column. &lt;br /&gt;
&lt;br /&gt;
'''Examples'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Substr(A.DESCR,3) /* The description without the first three characters */&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Function: Translate ===&lt;br /&gt;
'''Usage: translate(A.DESCR,'List1','List2') '''&lt;br /&gt;
&lt;br /&gt;
'''Usage: translate(A.DESCR,'X1234567890','X') '''&lt;br /&gt;
&lt;br /&gt;
Translates characters in the column found in first list with corresponding character in the second list. &lt;br /&gt;
&lt;br /&gt;
'''Examples'''&lt;br /&gt;
&lt;br /&gt;
Show the format of NATIONAL_ID - useful in a group by query:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
translate(NATIONAL_ID,&lt;br /&gt;
'0123456789' ||'abcdefghijklmnopqrstuvwxyz'||'ABCDEFGHIJKLMNOPQRSTUVWXYZ'&lt;br /&gt;
,rpad('9',10)||rpad('x',26)                ||rpad('X',26)) /* Format of NATIONAL_ID */&lt;br /&gt;
&lt;br /&gt;
translate(DESCR,'-0123456789','-') /* Removes digits from descriptiont field. */&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==More About Functions==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|[[File:UsingFunctionsInPeopleSoftQuerySmall.jpg|90px|link=http://www.amazon.co.uk/gp/product/B013ZRND0I/ref=as_li_tl?ie=UTF8&amp;amp;camp=1634&amp;amp;creative=6738&amp;amp;creativeASIN=B013ZRND0I&amp;amp;linkCode=as2&amp;amp;tag=springboardso-21]]&lt;br /&gt;
&lt;br /&gt;
|For more information about functions in [[PeopleSoft Query]] and some other interesting stuff too, read our eBook:&lt;br /&gt;
&lt;br /&gt;
[http://www.amazon.co.uk/gp/product/B013ZRND0I/ref=as_li_tl?ie=UTF8&amp;amp;camp=1634&amp;amp;creative=6738&amp;amp;creativeASIN=B013ZRND0I&amp;amp;linkCode=as2&amp;amp;tag=springboardso-21 Using Functions in PeopleSoft Query]&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>	</entry>

	</feed>