 




<?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: how to retrieve current date and time in SQL400</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/how-to-retrieve-current-date-and-time-in-sql400/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-retrieve-current-date-and-time-in-sql400/</link>
	<description></description>
	<lastBuildDate>Thu, 23 May 2013 05:15:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-retrieve-current-date-and-time-in-sql400/#comment-101971</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Tue, 24 Jan 2012 01:25:06 +0000</pubDate>
		<guid isPermaLink="false">#comment-101971</guid>
		<description><![CDATA[“Qualified object name 
was easy to find in the same SQL Reference manual.]]></description>
		<content:encoded><![CDATA[<p>“Qualified object name<br />
was easy to find in the same SQL Reference manual.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-retrieve-current-date-and-time-in-sql400/#comment-101966</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Mon, 23 Jan 2012 20:23:56 +0000</pubDate>
		<guid isPermaLink="false">#comment-101966</guid>
		<description><![CDATA[&lt;i&gt;“Qualified object name SYSDUMMY1 not valid”&lt;/i&gt;

The help text for that message includes this:&lt;ul&gt;
	&lt;li&gt;With system naming, the qualified form of an object name is schema-name/object-name.  With SQL naming the qualified form of an object name is authorization-name.object-name.&lt;/li&gt;
&lt;/ul&gt;
A qualified name such as &quot;sysibm.sysdummy1&quot; can take two possible formats. The delimiter is a .dot (&quot;.&quot;) in standard SQL format. It is a forward-slash (&quot;/&quot;) in system naming format. You choose which format to use when you start the client.

On most systems, the STRSQL command uses system naming format as its default. You can change that by specifying the NAMING() parameter when you run the command. You can also change it by pressing &lt;F13=Services&gt; on the SQL command display and taking option 1, Change session attributes.

Other clients, such as the iSeries Navigator &#039;Run SQL Scripts&#039; function, will usually default to SQL naming.

Depending on which client you use and what settings you choose, the statement will either work correctly or will show the error that you saw. Your settings are up to you.

Tom]]></description>
		<content:encoded><![CDATA[<p><i>“Qualified object name SYSDUMMY1 not valid”</i></p>
<p>The help text for that message includes this:
<ul>
<li>With system naming, the qualified form of an object name is schema-name/object-name.  With SQL naming the qualified form of an object name is authorization-name.object-name.</li>
</ul>
<p>A qualified name such as &#8220;sysibm.sysdummy1&#8243; can take two possible formats. The delimiter is a .dot (&#8220;.&#8221;) in standard SQL format. It is a forward-slash (&#8220;/&#8221;) in system naming format. You choose which format to use when you start the client.</p>
<p>On most systems, the STRSQL command uses system naming format as its default. You can change that by specifying the NAMING() parameter when you run the command. You can also change it by pressing &lt;F13=Services&gt; on the SQL command display and taking option 1, Change session attributes.</p>
<p>Other clients, such as the iSeries Navigator &#8216;Run SQL Scripts&#8217; function, will usually default to SQL naming.</p>
<p>Depending on which client you use and what settings you choose, the statement will either work correctly or will show the error that you saw. Your settings are up to you.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-retrieve-current-date-and-time-in-sql400/#comment-101957</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Mon, 23 Jan 2012 15:28:27 +0000</pubDate>
		<guid isPermaLink="false">#comment-101957</guid>
		<description><![CDATA[Standard qualification in sql uses period ..
default on AS/400 uses /

SYSIBM.SYSDUMMY1 vs SYSIBM/SYSDUMMY1

In inteactive SQL - F13 
last item on page is Naming convention *SYS/*SQL 
*SYS is / *SQL is .
Phil]]></description>
		<content:encoded><![CDATA[<p>Standard qualification in sql uses period ..<br />
default on AS/400 uses /</p>
<p>SYSIBM.SYSDUMMY1 vs SYSIBM/SYSDUMMY1</p>
<p>In inteactive SQL &#8211; F13<br />
last item on page is Naming convention *SYS/*SQL<br />
*SYS is / *SQL is .<br />
Phil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pdsathishkumar</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-retrieve-current-date-and-time-in-sql400/#comment-101953</link>
		<dc:creator>pdsathishkumar</dc:creator>
		<pubDate>Mon, 23 Jan 2012 14:12:14 +0000</pubDate>
		<guid isPermaLink="false">#comment-101953</guid>
		<description><![CDATA[I got the answer from SQL reference book... that query is

SELECT CURDATE() FROM SYSIBM.SYSDUMMY1
but it is not working. it ll show the error

&quot;Qualified object name SYSDUMMY1 not valid&quot;
if you have any solution, share me]]></description>
		<content:encoded><![CDATA[<p>I got the answer from SQL reference book&#8230; that query is</p>
<p>SELECT CURDATE() FROM SYSIBM.SYSDUMMY1<br />
but it is not working. it ll show the error</p>
<p>&#8220;Qualified object name SYSDUMMY1 not valid&#8221;<br />
if you have any solution, share me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-retrieve-current-date-and-time-in-sql400/#comment-101946</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Mon, 23 Jan 2012 07:48:26 +0000</pubDate>
		<guid isPermaLink="false">#comment-101946</guid>
		<description><![CDATA[&lt;i&gt;please share me query for get current date and time in SQL400..&lt;/i&gt;

That&#039;s not quite what this forum is for. That&#039;s what the manuals are for. Look at the &lt;a href=&quot;http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/index.jsp?topic=%2Fdb2%2Frbafzscacurdate.htm&quot;&gt;CURDATE function&lt;/a&gt; in the SQL Reference for an example.

This forum would be used if the function did not seem to work as it was documented. This can&#039;t be used as a training site because it would get flooded with thousands of questions that can be found simply by looking at the reference manuals. We could never have time to help with actual problems.

Tom]]></description>
		<content:encoded><![CDATA[<p><i>please share me query for get current date and time in SQL400..</i></p>
<p>That&#8217;s not quite what this forum is for. That&#8217;s what the manuals are for. Look at the <a href="http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/index.jsp?topic=%2Fdb2%2Frbafzscacurdate.htm">CURDATE function</a> in the SQL Reference for an example.</p>
<p>This forum would be used if the function did not seem to work as it was documented. This can&#8217;t be used as a training site because it would get flooded with thousands of questions that can be found simply by looking at the reference manuals. We could never have time to help with actual problems.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pdsathishkumar</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-retrieve-current-date-and-time-in-sql400/#comment-101942</link>
		<dc:creator>pdsathishkumar</dc:creator>
		<pubDate>Mon, 23 Jan 2012 05:25:19 +0000</pubDate>
		<guid isPermaLink="false">#comment-101942</guid>
		<description><![CDATA[i don&#039;t know how to use the keywords..

please share me query for get current date and time in SQL400..]]></description>
		<content:encoded><![CDATA[<p>i don&#8217;t know how to use the keywords..</p>
<p>please share me query for get current date and time in SQL400..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Most-Watched IT Questions: January 18, 2012 - ITKE Community Blog</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-retrieve-current-date-and-time-in-sql400/#comment-101870</link>
		<dc:creator>The Most-Watched IT Questions: January 18, 2012 - ITKE Community Blog</dc:creator>
		<pubDate>Thu, 19 Jan 2012 20:33:07 +0000</pubDate>
		<guid isPermaLink="false">#comment-101870</guid>
		<description><![CDATA[[...] 4. TomLiotta and CharlieBrown explained how to retrieve the current date and time in SQL400. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] 4. TomLiotta and CharlieBrown explained how to retrieve the current date and time in SQL400. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-retrieve-current-date-and-time-in-sql400/#comment-101345</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Fri, 06 Jan 2012 23:22:59 +0000</pubDate>
		<guid isPermaLink="false">#comment-101345</guid>
		<description><![CDATA[In addition to CURRENT TIMESTAMP (or CURRENT_TIMESTAMP), there is also CURRENT DATE and CURRENT TIME.

There are also the CURDATE() and CURTIME() scalar functions.

A quick scan of the SQL Reference shows all of these. Look through the lists of functions and look through the list of reserved words in the manual for finding words related to what you&#039;re interested in.

Tom]]></description>
		<content:encoded><![CDATA[<p>In addition to CURRENT TIMESTAMP (or CURRENT_TIMESTAMP), there is also CURRENT DATE and CURRENT TIME.</p>
<p>There are also the CURDATE() and CURTIME() scalar functions.</p>
<p>A quick scan of the SQL Reference shows all of these. Look through the lists of functions and look through the list of reserved words in the manual for finding words related to what you&#8217;re interested in.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/8 queries in 0.036 seconds using memcached
Object Caching 367/368 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-23 05:52:58 -->