<?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>Question Re: How to insert timestamp to sybase table using insert query? in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/how-to-insert-timestamp-to-sybase-table-using-insert-query/qaa-p/13826278#M4857121</link>
    <description>&lt;P&gt;As this is more like a Read the Manual stuff. You will have tried something and it did not work. Show what you have tried to do and give the volunteer a idea what you would like to accomplish.&lt;/P&gt;</description>
    <pubDate>Tue, 08 Oct 2013 02:15:00 GMT</pubDate>
    <dc:creator>thomas_duemesnil</dc:creator>
    <dc:date>2013-10-08T02:15:00Z</dc:date>
    <item>
      <title>How to insert timestamp to sybase table using insert query?</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-insert-timestamp-to-sybase-table-using-insert-query/qaq-p/13826275</link>
      <description>&lt;P&gt;Hi,
Please help me to write a query to insert timestamp value to Sybase table using insert query.&lt;/P&gt;
&lt;P&gt;Regards,
Bikshu.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2013 00:48:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-insert-timestamp-to-sybase-table-using-insert-query/qaq-p/13826275</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-08T00:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert timestamp to sybase table using insert query?</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-insert-timestamp-to-sybase-table-using-insert-query/qaa-p/13826278#M4857121</link>
      <description>&lt;P&gt;As this is more like a Read the Manual stuff. You will have tried something and it did not work. Show what you have tried to do and give the volunteer a idea what you would like to accomplish.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2013 02:15:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-insert-timestamp-to-sybase-table-using-insert-query/qaa-p/13826278#M4857121</guid>
      <dc:creator>thomas_duemesnil</dc:creator>
      <dc:date>2013-10-08T02:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert timestamp to sybase table using insert query?</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-insert-timestamp-to-sybase-table-using-insert-query/qaa-p/13826276#M4857119</link>
      <description>&lt;P&gt;Here you go.&lt;/P&gt;
&lt;DIV class="codehilite"&gt;&lt;PRE&gt;&lt;SPAN class="n"&gt;create&lt;/SPAN&gt; &lt;SPAN class="n"&gt;table&lt;/SPAN&gt; &lt;SPAN class="n"&gt;ts_table&lt;/SPAN&gt; &lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="n"&gt;ts&lt;/SPAN&gt; &lt;SPAN class="n"&gt;timestamp&lt;/SPAN&gt;&lt;SPAN class="p"&gt;);&lt;/SPAN&gt;
&lt;SPAN class="n"&gt;insert&lt;/SPAN&gt; &lt;SPAN class="n"&gt;into&lt;/SPAN&gt; &lt;SPAN class="n"&gt;ts_table&lt;/SPAN&gt; &lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="n"&gt;ts&lt;/SPAN&gt;&lt;SPAN class="p"&gt;)&lt;/SPAN&gt; &lt;SPAN class="nb"&gt;values&lt;/SPAN&gt; &lt;SPAN class="p"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s"&gt;'2013-10-08T12:34:45.678'&lt;/SPAN&gt;&lt;SPAN class="p"&gt;);&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/DIV&gt;


&lt;P&gt;Of course, I am sure that's not what you wanted to know, but it is what you asked.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2013 09:00:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-insert-timestamp-to-sybase-table-using-insert-query/qaa-p/13826276#M4857119</guid>
      <dc:creator>jack_schueler</dc:creator>
      <dc:date>2013-10-08T09:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert timestamp to sybase table using insert query?</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-insert-timestamp-to-sybase-table-using-insert-query/qaa-p/13826277#M4857120</link>
      <description>&lt;P&gt;This assumes that you are asking about SQL Anywhere and not ASE. If you are asking about timestamps in ASE, you should ask that in an ASE focused forum.&lt;/P&gt;
&lt;P&gt;For SQL Anywhere, here is a simple example:&lt;/P&gt;
&lt;P&gt;insert into t (ts_col) values( now() )&lt;/P&gt;
&lt;P&gt;For ASE, you  should note that a timestamp value is not a data and time value but a binary value  generally used for row versioning. Its value is updated anytime a row is modified so that suggests that you likely should not be setting its value at all in a row operation - simply let the server manage that for you. You can obtain the timestamp value with @@dbts. If you are asking in an ASE context, I remind you that I am not an ASE person so you should address this in a forum that is focused on ASE.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2013 09:04:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-insert-timestamp-to-sybase-table-using-insert-query/qaa-p/13826277#M4857120</guid>
      <dc:creator>chris_keating</dc:creator>
      <dc:date>2013-10-08T09:04:20Z</dc:date>
    </item>
  </channel>
</rss>

