<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic SQL command format for columns in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sql-command-format-for-columns/m-p/2816513#M829073</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;a simple question:&lt;BR /&gt;How can I format a column containing the date in Oracle format so as to display after a select query also the hour and the minute (not only the date as until now)?. I have in a table period_start_time and period_stop_time columns but the display (after select...) show me only the date :-(</description>
    <pubDate>Tue, 01 Oct 2002 06:44:23 GMT</pubDate>
    <dc:creator>Ionut Grigorescu_2</dc:creator>
    <dc:date>2002-10-01T06:44:23Z</dc:date>
    <item>
      <title>SQL command format for columns</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sql-command-format-for-columns/m-p/2816513#M829073</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;a simple question:&lt;BR /&gt;How can I format a column containing the date in Oracle format so as to display after a select query also the hour and the minute (not only the date as until now)?. I have in a table period_start_time and period_stop_time columns but the display (after select...) show me only the date :-(</description>
      <pubDate>Tue, 01 Oct 2002 06:44:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sql-command-format-for-columns/m-p/2816513#M829073</guid>
      <dc:creator>Ionut Grigorescu_2</dc:creator>
      <dc:date>2002-10-01T06:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: SQL command format for columns</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sql-command-format-for-columns/m-p/2816514#M829074</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;There is a Oracle Initialization Parameter for fixing date display format.&lt;BR /&gt;&lt;BR /&gt;nls_date_format = "YYYY/MM/DD HH24:MI:SS"&lt;BR /&gt;&lt;BR /&gt;You can find it on init"sid".ora.&lt;BR /&gt;&lt;BR /&gt;I??m not sure you can change it without shutdown/startup database, maybe others could help on this.&lt;BR /&gt;&lt;BR /&gt;If you don??t want to change the parameter, you can also format directly on select:&lt;BR /&gt;&lt;BR /&gt;"SELECT TO_CHAR(PERIOD_START_TIME,'YYYY/MM/DD HH24.MI.SS') FROM ..."&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Oct 2002 07:15:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sql-command-format-for-columns/m-p/2816514#M829074</guid>
      <dc:creator>Manuel G</dc:creator>
      <dc:date>2002-10-01T07:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: SQL command format for columns</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sql-command-format-for-columns/m-p/2816515#M829075</link>
      <description>Sorry for delay in answer..&lt;BR /&gt;I have solved the problem using a so called mediation device, which is an ASCII interface between the Oracle and external processing devices in our network. But I have tried your solution and it works! It's always good to learn something new...:-))- case closed.</description>
      <pubDate>Tue, 01 Oct 2002 14:33:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sql-command-format-for-columns/m-p/2816515#M829075</guid>
      <dc:creator>Ionut Grigorescu_2</dc:creator>
      <dc:date>2002-10-01T14:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: SQL command format for columns</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sql-command-format-for-columns/m-p/2816516#M829076</link>
      <description>Just to continue the learning experience...&lt;BR /&gt;&lt;BR /&gt;You don't have to change the parameter; you can do it by session basis.&lt;BR /&gt;&lt;BR /&gt;SQL&amp;gt; select sysdate from dual;&lt;BR /&gt;&lt;BR /&gt;SYSDATE&lt;BR /&gt;---------&lt;BR /&gt;02-OCT-02&lt;BR /&gt;&lt;BR /&gt;SQL&amp;gt; alter session set nls_date_format = "YYYY/MM/DD HH24:MI:SS";&lt;BR /&gt;&lt;BR /&gt;Session altered.&lt;BR /&gt;&lt;BR /&gt;SQL&amp;gt; select sysdate from dual;&lt;BR /&gt;&lt;BR /&gt;SYSDATE&lt;BR /&gt;-------------------&lt;BR /&gt;2002/10/02 10:35:46&lt;BR /&gt;&lt;BR /&gt;SQL&amp;gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Oct 2002 13:30:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sql-command-format-for-columns/m-p/2816516#M829076</guid>
      <dc:creator>Leslie Chaim</dc:creator>
      <dc:date>2002-10-02T13:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: SQL command format for columns</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sql-command-format-for-columns/m-p/2816517#M829077</link>
      <description>That was even better!</description>
      <pubDate>Wed, 02 Oct 2002 14:42:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sql-command-format-for-columns/m-p/2816517#M829077</guid>
      <dc:creator>Ionut Grigorescu_2</dc:creator>
      <dc:date>2002-10-02T14:42:22Z</dc:date>
    </item>
  </channel>
</rss>

